diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index 41ccd1ef2ce..97dffd2372e 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -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)