Skip to content

Commit cf06c25

Browse files
committed
fix windows tests
1 parent 8ec024a commit cf06c25

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_cmd_line.py

+4
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ def check_input(self, code, expected):
452452
stdout, stderr = proc.communicate()
453453
self.assertEqual(stdout.rstrip(), expected)
454454

455+
# TODO: RUSTPYTHON
456+
@unittest.skipIf(sys.platform.startswith('win'), "TODO: RUSTPYTHON windows has \n troubles")
455457
def test_stdin_readline(self):
456458
# Issue #11272: check that sys.stdin.readline() replaces '\r\n' by '\n'
457459
# on Windows (sys.stdin is opened in binary mode)
@@ -467,6 +469,8 @@ def test_builtin_input(self):
467469
"print(repr(input()))",
468470
b"'abc'")
469471

472+
# TODO: RUSTPYTHON
473+
@unittest.skipIf(sys.platform.startswith('win'), "TODO: RUSTPYTHON windows has \n troubles")
470474
def test_output_newline(self):
471475
# Issue 13119 Newline for print() should be \r\n on Windows.
472476
code = """if 1:

0 commit comments

Comments
 (0)