diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-01-13 03:05:25 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-01-13 03:05:25 (GMT) |
commit | a28ad77844d7db11ed4c3b89c61b83cc4c02848a (patch) | |
tree | 45def2aafa67f63b98b0913da77d856fb64efa80 /Lib/test/outstanding_bugs.py | |
parent | 05f5ba9636cb0c8692e186553ce18fb5ab77b744 (diff) | |
download | cpython-a28ad77844d7db11ed4c3b89c61b83cc4c02848a.zip cpython-a28ad77844d7db11ed4c3b89c61b83cc4c02848a.tar.gz cpython-a28ad77844d7db11ed4c3b89c61b83cc4c02848a.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test/outstanding_bugs.py')
-rw-r--r-- | Lib/test/outstanding_bugs.py | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/Lib/test/outstanding_bugs.py b/Lib/test/outstanding_bugs.py index 7b17ba8..adcf7c0 100644 --- a/Lib/test/outstanding_bugs.py +++ b/Lib/test/outstanding_bugs.py @@ -1,27 +1,27 @@ -# -# This file is for everybody to add tests for bugs that aren't -# fixed yet. Please add a test case and appropriate bug description. -# -# When you fix one of the bugs, please move the test to the correct -# test_ module. -# - -import unittest -from test import test_support - -class TestBug1385040(unittest.TestCase): - def testSyntaxError(self): - import compiler - - # The following snippet gives a SyntaxError in the interpreter - # - # If you compile and exec it, the call foo(7) returns (7, 1) - self.assertRaises(SyntaxError, compiler.compile, - "def foo(a=1, b): return a, b\n\n", "<string>", "exec") - - -def test_main(): - test_support.run_unittest(TestBug1385040) - -if __name__ == "__main__": - test_main() +#
+# This file is for everybody to add tests for bugs that aren't
+# fixed yet. Please add a test case and appropriate bug description.
+#
+# When you fix one of the bugs, please move the test to the correct
+# test_ module.
+#
+
+import unittest
+from test import test_support
+
+class TestBug1385040(unittest.TestCase):
+ def testSyntaxError(self):
+ import compiler
+
+ # The following snippet gives a SyntaxError in the interpreter
+ #
+ # If you compile and exec it, the call foo(7) returns (7, 1)
+ self.assertRaises(SyntaxError, compiler.compile,
+ "def foo(a=1, b): return a, b\n\n", "<string>", "exec")
+
+
+def test_main():
+ test_support.run_unittest(TestBug1385040)
+
+if __name__ == "__main__":
+ test_main()
|