summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsteven.bethard <devnull@localhost>2009-09-16 17:48:23 +0000
committersteven.bethard <devnull@localhost>2009-09-16 17:48:23 +0000
commit287e8b8bf642f1c710cf47add63543945d4043ba (patch)
tree8650b8c210951769dfd4b332130b56faf18d1739
parent71e0438ebf2c5cd28294ad6500cd8e7e57bc615c (diff)
downloadargparse-287e8b8bf642f1c710cf47add63543945d4043ba.tar.gz
Fix encoding test. Boy, let's see if I can ever get this right. ;-)
-rw-r--r--test/test_argparse.py2
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):