From: Tim Peters Date: Tue, 27 Jun 2006 11:52:49 +0000 (+0000) Subject: Whitespace normalization. X-Git-Tag: v2.5b2~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3249d00f4d42a714d2038685c6b280a7fcfc5be7;p=python Whitespace normalization. --- diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py index 9ea0950481..53d30f04af 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 e17de5dfdd..474354f545 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 46638149a9..a7ccb6b292 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