Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64d904b

Browse files
committed
Remove set conversion optimization test (backed out of Python/compile.c in rev.
2.344).
1 parent ba613c3 commit 64d904b

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

Lib/test/test_peepholer.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,6 @@ def test_folding_of_binops_on_constants(self):
133133
asm = dis_single('a="x"*1000')
134134
self.assert_('(1000)' in asm)
135135

136-
def test_set_conversion(self):
137-
for line in (
138-
'x in [1,2,3]',
139-
'x in (1,2,3)',
140-
'x not in (1,2,3)',
141-
'not x in (1,2,3)',
142-
'not x not in (1,2,3)',
143-
):
144-
asm = dis_single(line)
145-
self.assert_('frozenset' in asm)
146-
147136
def test_elim_extra_return(self):
148137
# RETURN LOAD_CONST None RETURN --> RETURN
149138
def f(x):

0 commit comments

Comments
 (0)