test_faulthandler: fix typo

This commit is contained in:
Victor Stinner 2014-09-25 00:38:48 +02:00
parent 8e069d5ce9
commit 29001c8319

View file

@ -220,7 +220,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)