Commit cbebcbbd authored by Nikita Nemkin's avatar Nikita Nemkin

Fixed .srctree tests execution on Windows.

parent ea9ca9d4
......@@ -1188,8 +1188,8 @@ class EndToEndTest(unittest.TestCase):
old_path = os.environ.get('PYTHONPATH')
os.environ['PYTHONPATH'] = self.cython_syspath + os.pathsep + (old_path or '')
try:
for command in commands.split('\n'):
p = subprocess.Popen(commands,
for command in filter(None, commands.splitlines()):
p = subprocess.Popen(command,
stderr=subprocess.PIPE,
stdout=subprocess.PIPE,
shell=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment