Kaydet (Commit) 39df6105 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix test so as to also pass in debug mode

üst a5cafdf2
......@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment