Skip to content

Commit 5463145

Browse files
committed
Fix tests on Windows
1 parent f175525 commit 5463145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/test/testcmdline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_python_cmdline(testcase: DataDrivenTestCase, step: int) -> None:
5959
extra_path = os.path.join(os.path.abspath(test_temp_dir), 'pypath')
6060
env['PYTHONPATH'] = PREFIX
6161
if os.path.isdir(extra_path):
62-
env['PYTHONPATH'] += ':' + extra_path
62+
env['PYTHONPATH'] += os.pathsep + extra_path
6363
process = subprocess.Popen(fixed + args,
6464
stdout=subprocess.PIPE,
6565
stderr=subprocess.PIPE,

0 commit comments

Comments
 (0)