Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 18ceb70 + a4dbc73 commit c3dcb59Copy full SHA for c3dcb59
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