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

simonb at codespeak.net simonb at codespeak.net
Wed Oct 10 18:30:03 CEST 2007


Author: simonb
Date: Wed Oct 10 18:30:01 2007
New Revision: 47380

Modified:
   pypy/dist/pypy/translator/c/test/test_typed.py
Log:
this test breaks the c backend in a curious way

Modified: pypy/dist/pypy/translator/c/test/test_typed.py
==============================================================================
--- pypy/dist/pypy/translator/c/test/test_typed.py	(original)
+++ pypy/dist/pypy/translator/c/test/test_typed.py	Wed Oct 10 18:30:01 2007
@@ -771,3 +771,17 @@
             res = fn(i)
             assert res == expected
 
+    def test_swap(self):
+        py.test.skip("Failing test. ")
+        def func_swap():
+            a = []
+            b = range(10)
+            while b:
+                item = b.pop()
+                a.extend(b)
+                tmp = a
+                a = b
+                b = tmp
+                del a[:]
+    
+        f = self.getcompiled(func_swap, [])



More information about the Pypy-commit mailing list