]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
whitespace fix
authorRaymond Hettinger <python@rcn.com>
Tue, 15 Mar 2011 22:07:38 +0000 (15:07 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 15 Mar 2011 22:07:38 +0000 (15:07 -0700)
Lib/test/test_peepholer.py

index bab4c1e5d9dfffa15b785a22d9472b2d68e5c1ba..f73565eb46fb132295381621881d7fac0469ffba 100644 (file)
@@ -297,15 +297,15 @@ class TestTranforms(unittest.TestCase):
 
 class TestBuglets(unittest.TestCase):
 
-     def test_bug_11510(self):
-         # folded constant set optimization was commingled with the tuple
-         # unpacking optimization which would fail if the set had duplicate
-         # elements so that the set length was unexpected
-         def f():
-             x, y = {1, 1}
-             return x, y
-         with self.assertRaises(ValueError):
-             f()
+    def test_bug_11510(self):
+        # folded constant set optimization was commingled with the tuple
+        # unpacking optimization which would fail if the set had duplicate
+        # elements so that the set length was unexpected
+        def f():
+            x, y = {1, 1}
+            return x, y
+        with self.assertRaises(ValueError):
+            f()
 
 
 def test_main(verbose=None):