diff options
author | steven.bethard <devnull@localhost> | 2009-09-16 17:07:04 +0000 |
---|---|---|
committer | steven.bethard <devnull@localhost> | 2009-09-16 17:07:04 +0000 |
commit | 71e0438ebf2c5cd28294ad6500cd8e7e57bc615c (patch) | |
tree | f4fd841d08822e7617697a3a4ca70d19d46578f3 /test | |
parent | 127d3dc9fbd64570110c320642ac8c90952a3b22 (diff) | |
download | argparse-71e0438ebf2c5cd28294ad6500cd8e7e57bc615c.tar.gz |
Fix encoding test.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_argparse.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_argparse.py b/test/test_argparse.py index 263baea..c7c04d8 100644 --- a/test/test_argparse.py +++ b/test/test_argparse.py @@ -3918,9 +3918,7 @@ class TestEncoding(TestCase): def _test_module_encoding(self, path): if path.endswith('.pyc'): - return path[:-1] - else: - return path + path[:-1] codecs.open(path, 'r', 'utf8').read() def test_argparse_module_encoding(self): |