[Python-checkins] cpython: whitespace fix

raymond.hettinger python-checkins at python.org
Tue Mar 15 23:07:58 CET 2011


http://hg.python.org/cpython/rev/6d884c1a4654
changeset:   68567:6d884c1a4654
user:        Raymond Hettinger <python at rcn.com>
date:        Tue Mar 15 15:07:38 2011 -0700
summary:
  whitespace fix

files:
  Lib/test/test_peepholer.py

diff --git a/Lib/test/test_peepholer.py b/Lib/test/test_peepholer.py
--- a/Lib/test/test_peepholer.py
+++ b/Lib/test/test_peepholer.py
@@ -297,15 +297,15 @@
 
 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):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list