remove carriage return for windows testing

This commit is contained in:
Nathan Page 2020-10-25 17:07:51 -04:00
parent 125dc1d619
commit 4b7ada8c27
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ def check_output(output_file: str, output: str) -> None:
correct_output = get_capture_text("live", output_file) correct_output = get_capture_text("live", output_file)
assert output == correct_output, "Console output differs from the correct output" assert output.replace("\r", "") == correct_output.replace(
"\r", ""
), "Console output differs from the correct output"
@pytest.mark.skipif(sys.version_info < (3, 7), reason="requires python3.7 or higher") @pytest.mark.skipif(sys.version_info < (3, 7), reason="requires python3.7 or higher")