Fix test so as to also pass in debug mode

This commit is contained in:
Antoine Pitrou 2009-01-26 22:00:21 +00:00
parent a5cafdf2dd
commit 39df610571

View file

@ -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():