diff options
-rw-r--r-- | Lib/test/test_cmd_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 77bd6bb..84588cf 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -167,7 +167,7 @@ class CmdLineTest(unittest.TestCase): p.stdin.flush() data, rc = _kill_python_and_exit_code(p) self.assertEqual(rc, 0) - self.assertEqual(data.strip(), b'x') + self.assert_(data.startswith(b'x'), data) def test_main(): |