Skip to content

Commit 97969cf

Browse files
committed
Fix Windows CI
1 parent 378f03d commit 97969cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_ast.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2574,7 +2574,8 @@ def test_cli_empty_input(self):
25742574
res, _ = script_helper.run_python_until_end("-m", "ast")
25752575

25762576
self.assertEqual(res.err, b"")
2577-
self.assertIn(expected, res.out.decode("utf8"))
2577+
self.assertEqual(expected.splitlines(),
2578+
res.out.decode("utf8").splitlines())
25782579
self.assertEqual(res.rc, 0)
25792580

25802581
def test_cli_file_input(self):

0 commit comments

Comments
 (0)