diff options
Diffstat (limited to 'tests/test_util.py')
-rw-r--r-- | tests/test_util.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_util.py b/tests/test_util.py index f58fc24..d21c723 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -62,15 +62,15 @@ def parse_encoding(s): def test_parse_encoding_defined(): - assert parse_encoding(u'# coding: utf-8') == 'utf-8' + assert parse_encoding('# coding: utf-8') == 'utf-8' def test_parse_encoding_undefined(): - assert parse_encoding(u'') is None + assert parse_encoding('') is None def test_parse_encoding_non_ascii(): - assert parse_encoding(u'K\xf6ln') is None + assert parse_encoding('K\xf6ln') is None @pytest.mark.parametrize('source, result', [ |