python3.2
3.2.2

Public Member Functions  
def  test_bug_11510 
Definition at line 288 of file test_peepholer.py.
def test.test_peepholer.TestBuglets.test_bug_11510  (  self  ) 
Definition at line 290 of file test_peepholer.py.
00290 00291 def test_bug_11510(self): 00292 # folded constant set optimization was commingled with the tuple 00293 # unpacking optimization which would fail if the set had duplicate 00294 # elements so that the set length was unexpected 00295 def f(): 00296 x, y = {1, 1} 00297 return x, y 00298 with self.assertRaises(ValueError): 00299 f() 00300