mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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):
|
||||
|
||||
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue