Commit 3e4a80a2 authored by Victor Stinner's avatar Victor Stinner

(Merge 3.4) test_faulthandler: fix typo

parents f7248257 29001c83
...@@ -230,7 +230,7 @@ class FaultHandlerTests(unittest.TestCase): ...@@ -230,7 +230,7 @@ class FaultHandlerTests(unittest.TestCase):
""" """
not_expected = 'Fatal Python error' not_expected = 'Fatal Python error'
stderr, exitcode = self.get_output(code) stderr, exitcode = self.get_output(code)
stder = '\n'.join(stderr) stderr = '\n'.join(stderr)
self.assertTrue(not_expected not in stderr, self.assertTrue(not_expected not in stderr,
"%r is present in %r" % (not_expected, stderr)) "%r is present in %r" % (not_expected, stderr))
self.assertNotEqual(exitcode, 0) self.assertNotEqual(exitcode, 0)
......
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