[pypy-svn] r24028 - pypy/dist/pypy/translator/c/test

mwh at codespeak.net mwh at codespeak.net
Mon Mar 6 18:00:01 CET 2006


Author: mwh
Date: Mon Mar  6 18:00:00 2006
New Revision: 24028

Modified:
   pypy/dist/pypy/translator/c/test/test_newgc.py
Log:
a skipped, failing test


Modified: pypy/dist/pypy/translator/c/test/test_newgc.py
==============================================================================
--- pypy/dist/pypy/translator/c/test/test_newgc.py	(original)
+++ pypy/dist/pypy/translator/c/test/test_newgc.py	Mon Mar  6 18:00:00 2006
@@ -209,3 +209,22 @@
         fn = self.getcompiled(f)
         res = fn()
         assert res == 2
+
+    def test_framework_static_routes(self):
+        py.test.skip("not working yet")
+        class A(object):
+            pass
+        static_list = []
+        N = 100000
+        def f():
+            for i in range(100000):
+                a = A()
+                a.x = i
+                static_list.append(a)
+            r = 0
+            for a in static_list:
+                r += a.x
+            return r
+        fn = self.getcompiled(f)
+        res = fn()
+        assert res == 100000*(100000 - 1)/2



More information about the Pypy-commit mailing list