[pypy-svn] r54002 - pypy/branch/jit-hotpath/pypy/translator/backendopt/test

antocuni at codespeak.net antocuni at codespeak.net
Tue Apr 22 12:23:31 CEST 2008


Author: antocuni
Date: Tue Apr 22 12:23:31 2008
New Revision: 54002

Modified:
   pypy/branch/jit-hotpath/pypy/translator/backendopt/test/test_graphanalyze.py
Log:
this test cannot really pass



Modified: pypy/branch/jit-hotpath/pypy/translator/backendopt/test/test_graphanalyze.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/translator/backendopt/test/test_graphanalyze.py	(original)
+++ pypy/branch/jit-hotpath/pypy/translator/backendopt/test/test_graphanalyze.py	Tue Apr 22 12:23:31 2008
@@ -61,18 +61,6 @@
         res = impurity.analyze_direct_call(self.translator.graphs[0])
         assert res is False     # not impure
 
-# XXX failing test
-##    def test_builtin_method(self):
-##        def fn(flag):
-##            if flag:
-##                s = "foo" + str(flag)
-##            else:
-##                s = "bar" + str(flag)
-##            return len(s)
-##        impurity = self.translate(fn, [bool])
-##        res = impurity.analyze_direct_call(self.translator.graphs[0])
-##        assert res is False     # not impure
-
 class TestLLType(LLRtypeMixin, BaseTestImpurityAnalyzer):
     pass
 



More information about the Pypy-commit mailing list