diff options
author | Guido van Rossum <guido@python.org> | 2007-06-15 03:49:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-06-15 03:49:03 (GMT) |
commit | 96ca6916b43cda557934707cabce222ecfa87064 (patch) | |
tree | bcb8e349b7ee18db2b4ee1726ea0fa932a4615da /Lib | |
parent | aa588c4699877fd812c59debee71aa704b8f6dd4 (diff) | |
download | cpython-96ca6916b43cda557934707cabce222ecfa87064.zip cpython-96ca6916b43cda557934707cabce222ecfa87064.tar.gz cpython-96ca6916b43cda557934707cabce222ecfa87064.tar.bz2 |
Make sys.path and sys.argv into lists of strings.
Remove the hack in test_popen.py to overcome this issue.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_popen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index fba3f41..397e4a3 100644 --- a/Lib/test/test_popen.py +++ b/Lib/test/test_popen.py @@ -20,7 +20,7 @@ if ' ' in python: class PopenTest(unittest.TestCase): def _do_test_commandline(self, cmdline, expected): - cmd = '%s -c "import sys; print(list(map(str, sys.argv)))" %s' + cmd = '%s -c "import sys; print(sys.argv)" %s' cmd = cmd % (python, cmdline) data = os.popen(cmd).read() got = eval(data)[1:] # strip off argv[0] |