[pypy-svn] r32073 - pypy/dist/pypy/objspace/flow/test
arigo at codespeak.net
arigo at codespeak.net
Thu Sep 7 20:23:27 CEST 2006
Author: arigo
Date: Thu Sep 7 20:23:26 2006
New Revision: 32073
Modified:
pypy/dist/pypy/objspace/flow/test/test_objspace.py
Log:
A flow space test that is known to crash on Python 2.5.
Modified: pypy/dist/pypy/objspace/flow/test/test_objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/flow/test/test_objspace.py (original)
+++ pypy/dist/pypy/objspace/flow/test/test_objspace.py Thu Sep 7 20:23:26 2006
@@ -701,6 +701,16 @@
from pypy import this_does_not_exist
py.test.raises(ImportError, 'self.codetest(f)')
+ def test_mergeable(self):
+ def myfunc(x):
+ if x:
+ from pypy.interpreter.error import OperationError
+ s = 12
+ else:
+ s = x.abc
+ return x[s]
+ graph = self.codetest(myfunc)
+
class TestFlowObjSpaceDelay(Base):
def setup_class(cls):
More information about the Pypy-commit
mailing list