diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py index 9ea09504817..53d30f04af8 100644 --- a/Lib/compiler/transformer.py +++ b/Lib/compiler/transformer.py @@ -922,7 +922,7 @@ class Transformer: return TryFinally(self.com_node(nodelist[2]), self.com_node(nodelist[5]), lineno=nodelist[0][2]) - + #tryexcept: [TryNode, [except_clauses], elseNode)] clauses = [] elseNode = None diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index e17de5dfdd0..474354f545d 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -738,12 +738,12 @@ class _TestMboxMMDF(TestMailbox): time.sleep(0.5) self.assertRaises(mailbox.ExternalClashError, self._box.lock) - + # Wait for child to exit. Locking should now succeed. exited_pid, status = os.waitpid(pid, 0) self._box.lock() self._box.unlock() - + class TestMbox(_TestMboxMMDF): diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py index 46638149a9f..a7ccb6b292d 100644 --- a/Lib/test/test_warnings.py +++ b/Lib/test/test_warnings.py @@ -92,7 +92,7 @@ class TestModule(unittest.TestCase): warnings._setoption, 'ignore:2::4:-5') warnings._setoption('error::Warning::0') self.assertRaises(UserWarning, warnings.warn, 'convert to error') - + def test_main(verbose=None): # Obscure hack so that this test passes after reloads or repeated calls