[pypy-svn] pypy default: kill this test, we decided to use a different way of testing

antocuni commits-noreply at bitbucket.org
Wed Feb 23 18:33:31 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r42233:095d33ac5756
Date: 2011-02-23 15:54 +0100
http://bitbucket.org/pypy/pypy/changeset/095d33ac5756/

Log:	kill this test, we decided to use a different way of testing

diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
--- a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
@@ -7,31 +7,6 @@
 from pypy.module.pypyjit.test_pypy_c.test_model import BaseTestPyPyC
 
 
-class TestInfrastructure(BaseTestPyPyC):
-
-    def test_full(self):
-        py.test.skip('in-progress')
-        def f():
-            i = 0
-            while i < 1003:
-                # LOOP one
-                i += 1
-
-        trace = self.run(f)
-        loop = trace.get_loops('one')
-        loop.get_bytecode(3, 'LOAD_FAST').match('''
-        int_add
-        guard_true
-        ''')
-        loop.get_bytecode(4, 'LOAD_CONST').match_stats(
-            guard='3', call='1-2', call_may_force='0'
-        )
-        # this would make operations that are "costly" obligatory to pass
-        # like new
-        loo.get_bytecode(5, 'INPLACE_ADD').match_stats(
-            allocs='5-10'
-            )
-
 class TestPyPyCNew(BaseTestPyPyC):
     def test_f1(self):
         def f1(n):


More information about the Pypy-commit mailing list