test_faulthandler: fix typo

This commit is contained in:
Victor Stinner 2014-09-25 00:38:48 +02:00
parent 8e069d5ce9
commit 29001c8319
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class FaultHandlerTests(unittest.TestCase):
"""
not_expected = 'Fatal Python error'
stderr, exitcode = self.get_output(code)
stder = '\n'.join(stderr)
stderr = '\n'.join(stderr)
self.assertTrue(not_expected not in stderr,
"%r is present in %r" % (not_expected, stderr))
self.assertNotEqual(exitcode, 0)