summaryrefslogtreecommitdiff
path: root/Lib/test/test_popen.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_popen.py')
-rw-r--r--Lib/test/test_popen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py
index fba3f41ca4..397e4a31ce 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]