diff --git a/cssutils/tests/test_cssstyledeclaration.py b/cssutils/tests/test_cssstyledeclaration.py index 4f2094f8..4afeb652 100644 --- a/cssutils/tests/test_cssstyledeclaration.py +++ b/cssutils/tests/test_cssstyledeclaration.py @@ -465,7 +465,6 @@ def test_setProperty(self): ('left', '0', ''): 'left: 0', ('left', '0', 'important'): 'left: 0 !important', ('LEFT', '0', 'important'): 'left: 0 !important', - ('left', '0', 'important'): 'left: 0 !important', } for test, exp in list(tests.items()): s = cssutils.css.CSSStyleDeclaration() diff --git a/cssutils/tests/test_parse.py b/cssutils/tests/test_parse.py index 13103ece..e975d809 100644 --- a/cssutils/tests/test_parse.py +++ b/cssutils/tests/test_parse.py @@ -98,11 +98,6 @@ def test_parseUrl(self): 'utf-8', 'a {\n color: red\n }', ), - ('http://cthedot.de/test.css', 'a {color: red}'): ( - True, - 'utf-8', - 'a {\n color: red\n }', - ), ('http://cthedot.de/test.css', '@charset "ascii";a {color: red}'): ( True, 'ascii', diff --git a/cssutils/tests/test_util.py b/cssutils/tests/test_util.py index 970bf258..ebd96d99 100644 --- a/cssutils/tests/test_util.py +++ b/cssutils/tests/test_util.py @@ -266,22 +266,6 @@ def fetcher(url): 0, '@charset "latin1";\xc3\xa4', ), # read as latin1! - # override ü @charset - ('latin1', None, (None, b'@charset "ascii";')): ( - 'latin1', - 0, - '@charset "latin1";', - ), - ('latin1', None, (None, '@charset "utf-8";ä'.encode('latin1'))): ( - 'latin1', - 0, - '@charset "latin1";ä', - ), - ('latin1', None, (None, '@charset "utf-8";ä'.encode())): ( - 'latin1', - 0, - '@charset "latin1";\xc3\xa4', - ), # read as latin1! # ===== 1. HTTP WINS ===== (None, 'ascii', ('latin1', b'')): ('latin1', 1, ''), (None, 'ascii', ('latin1', b'123')): ('latin1', 1, '123'),