mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
fix windows buildbot
This commit is contained in:
parent
48a3c4e2e3
commit
7aedb3b30e
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ python = sys.executable
|
||||||
|
|
||||||
class PopenTest(unittest.TestCase):
|
class PopenTest(unittest.TestCase):
|
||||||
def _do_test_commandline(self, cmdline, expected):
|
def _do_test_commandline(self, cmdline, expected):
|
||||||
cmd = '"%s" -c "import sys;print sys.argv" %s' % (python, cmdline)
|
cmd = '%s -c "import sys;print sys.argv" %s' % (python, cmdline)
|
||||||
data = os.popen(cmd).read() + '\n'
|
data = os.popen(cmd).read() + '\n'
|
||||||
got = eval(data)[1:] # strip off argv[0]
|
got = eval(data)[1:] # strip off argv[0]
|
||||||
self.assertEqual(got, expected)
|
self.assertEqual(got, expected)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue