diff options
author | Brett Cannon <bcannon@gmail.com> | 2005-02-10 20:40:29 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2005-02-10 20:40:29 (GMT) |
commit | 64d904b715b1cf6a29bfa72a72aeb6a3e72eac5a (patch) | |
tree | 3cc9e5fc8a8a12c003b796ce3a3d4aa51e48b90c /Lib | |
parent | ba613c3410c5a0ff547e43d2e9cdd9ffff1fca54 (diff) | |
download | cpython-64d904b715b1cf6a29bfa72a72aeb6a3e72eac5a.zip cpython-64d904b715b1cf6a29bfa72a72aeb6a3e72eac5a.tar.gz cpython-64d904b715b1cf6a29bfa72a72aeb6a3e72eac5a.tar.bz2 |
Remove set conversion optimization test (backed out of Python/compile.c in rev.
2.344).
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_peepholer.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_peepholer.py b/Lib/test/test_peepholer.py index 0e723eb..34bd99f 100644 --- a/Lib/test/test_peepholer.py +++ b/Lib/test/test_peepholer.py @@ -133,17 +133,6 @@ class TestTranforms(unittest.TestCase): asm = dis_single('a="x"*1000') self.assert_('(1000)' in asm) - def test_set_conversion(self): - for line in ( - 'x in [1,2,3]', - 'x in (1,2,3)', - 'x not in (1,2,3)', - 'not x in (1,2,3)', - 'not x not in (1,2,3)', - ): - asm = dis_single(line) - self.assert_('frozenset' in asm) - def test_elim_extra_return(self): # RETURN LOAD_CONST None RETURN --> RETURN def f(x): |