Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r75601:e3635a30ce4d
Date: 2015-01-31 10:55 +0100
http://bitbucket.org/pypy/pypy/changeset/e3635a30ce4d/

Log:    A skipped test about a case that is missing in malloc-removal

diff --git a/rpython/translator/backendopt/test/test_malloc.py 
b/rpython/translator/backendopt/test/test_malloc.py
--- a/rpython/translator/backendopt/test/test_malloc.py
+++ b/rpython/translator/backendopt/test/test_malloc.py
@@ -340,3 +340,15 @@
             u[0].s.x = x
             return u[0].s.x
         graph = self.check(f, [int], [42], 42)
+
+    def test_two_paths_one_with_constant(self):
+        py.test.skip("XXX implement me?")
+        def fn(n):
+            if n > 100:
+                tup = (0,)
+            else:
+                tup = (n,)
+            (n,)    # <- flowspace
+            return tup[0]
+
+        self.check(fn, [int], [42], 42)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to