diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-26 22:00:21 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-01-26 22:00:21 (GMT) |
commit | 39df610571635d05b172aa84e683a837b1e74089 (patch) | |
tree | da19fb34c02db0bdd72aa631e546ec4472bd226d /Lib | |
parent | a5cafdf2ddca48882e6d927a90329ee638357a56 (diff) | |
download | cpython-39df610571635d05b172aa84e683a837b1e74089.zip cpython-39df610571635d05b172aa84e683a837b1e74089.tar.gz cpython-39df610571635d05b172aa84e683a837b1e74089.tar.bz2 |
Fix test so as to also pass in debug mode
Diffstat (limited to 'Lib')
-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(): |