summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_peepholer.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-03-15 22:07:38 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-03-15 22:07:38 (GMT)
commit5bd75b87263bc6502753381138e15531ce4574a6 (patch)
treede5b3df8ee5277a864c7ffbea233049b18495557 /Lib/test/test_peepholer.py
parentf932f747e6242c7de88864798e845135d9d981c9 (diff)
downloadcpython-5bd75b87263bc6502753381138e15531ce4574a6.zip
cpython-5bd75b87263bc6502753381138e15531ce4574a6.tar.gz
cpython-5bd75b87263bc6502753381138e15531ce4574a6.tar.bz2
whitespace fix
Diffstat (limited to 'Lib/test/test_peepholer.py')
-rw-r--r--Lib/test/test_peepholer.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/Lib/test/test_peepholer.py b/Lib/test/test_peepholer.py
index bab4c1e..f73565e 100644
--- a/Lib/test/test_peepholer.py
+++ b/Lib/test/test_peepholer.py
@@ -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):