mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
whitespace fix
This commit is contained in:
parent
f932f747e6
commit
5bd75b8726
1 changed files with 9 additions and 9 deletions
|
@ -297,15 +297,15 @@ class TestTranforms(unittest.TestCase):
|
||||||
|
|
||||||
class TestBuglets(unittest.TestCase):
|
class TestBuglets(unittest.TestCase):
|
||||||
|
|
||||||
def test_bug_11510(self):
|
def test_bug_11510(self):
|
||||||
# folded constant set optimization was commingled with the tuple
|
# folded constant set optimization was commingled with the tuple
|
||||||
# unpacking optimization which would fail if the set had duplicate
|
# unpacking optimization which would fail if the set had duplicate
|
||||||
# elements so that the set length was unexpected
|
# elements so that the set length was unexpected
|
||||||
def f():
|
def f():
|
||||||
x, y = {1, 1}
|
x, y = {1, 1}
|
||||||
return x, y
|
return x, y
|
||||||
with self.assertRaises(ValueError):
|
with self.assertRaises(ValueError):
|
||||||
f()
|
f()
|
||||||
|
|
||||||
|
|
||||||
def test_main(verbose=None):
|
def test_main(verbose=None):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue