We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d4fc0 commit a4dbc73Copy full SHA for a4dbc73
tests/run-tests
@@ -44,8 +44,10 @@ def run_tests(pyb, tests):
44
# expected output given by a file, so read that in
45
with open(test_file_expected, 'rb') as f:
46
output_expected = f.read()
47
+ if os.name == 'nt':
48
+ output_expected = output_expected.replace(b'\n', b'\r\n')
49
else:
- # run CPython to work out expeceted output
50
+ # run CPython to work out expected output
51
try:
52
output_expected = subprocess.check_output([CPYTHON3, '-B', test_file])
53
except subprocess.CalledProcessError:
0 commit comments