[pypy-svn] r50702 - pypy/dist/pypy/objspace/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Thu Jan 17 16:17:33 CET 2008
Author: cfbolz
Date: Thu Jan 17 16:17:32 2008
New Revision: 50702
Modified:
pypy/dist/pypy/objspace/test/test_reflective.py
Log:
prevent the bytecode compiler optimizations from turning this into a non-test
Modified: pypy/dist/pypy/objspace/test/test_reflective.py
==============================================================================
--- pypy/dist/pypy/objspace/test/test_reflective.py (original)
+++ pypy/dist/pypy/objspace/test/test_reflective.py Thu Jan 17 16:17:32 2008
@@ -25,7 +25,9 @@
pass
set_reflectivespace(Space())
- assert 1+2 == 3
+ x = 1
+ y = 2
+ assert x + y == 3
def test_newdict(self):
from __pypy__ import set_reflectivespace
More information about the Pypy-commit
mailing list