diff options
-rw-r--r-- | test/test_argparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_argparse.py b/test/test_argparse.py index c7c04d8..f58d78f 100644 --- a/test/test_argparse.py +++ b/test/test_argparse.py @@ -3918,7 +3918,7 @@ class TestEncoding(TestCase): def _test_module_encoding(self, path): if path.endswith('.pyc'): - path[:-1] + path = path[:-1] codecs.open(path, 'r', 'utf8').read() def test_argparse_module_encoding(self): |