[Python-checkins] python/dist/src/Lib/test test_peepholer.py, 1.10, 1.11

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Thu Feb 10 21:40:36 CET 2005


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5299/Lib/test

Modified Files:
	test_peepholer.py 
Log Message:
Remove set conversion optimization test (backed out of Python/compile.c in rev.
2.344).


Index: test_peepholer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_peepholer.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- test_peepholer.py	7 Feb 2005 19:32:38 -0000	1.10
+++ test_peepholer.py	10 Feb 2005 20:40:29 -0000	1.11
@@ -133,17 +133,6 @@
         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):



More information about the Python-checkins mailing list