diff options
author | steven.bethard <devnull@localhost> | 2009-09-16 17:48:23 +0000 |
---|---|---|
committer | steven.bethard <devnull@localhost> | 2009-09-16 17:48:23 +0000 |
commit | 287e8b8bf642f1c710cf47add63543945d4043ba (patch) | |
tree | 8650b8c210951769dfd4b332130b56faf18d1739 /test | |
parent | 71e0438ebf2c5cd28294ad6500cd8e7e57bc615c (diff) | |
download | argparse-287e8b8bf642f1c710cf47add63543945d4043ba.tar.gz |
Fix encoding test. Boy, let's see if I can ever get this right. ;-)
Diffstat (limited to 'test')
-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): |