Author: Ronny Pfannschmidt <[email protected]>
Branch: pytest
Changeset: r54652:ca3203a42a65
Date: 2012-04-23 10:25 +0200
http://bitbucket.org/pypy/pypy/changeset/ca3203a42a65/
Log: add a interp level reinterpetation to the failure demo
diff --git a/pypy/tool/pytest/pypy_test_failure_demo.py
b/pypy/tool/pytest/pypy_test_failure_demo.py
--- a/pypy/tool/pytest/pypy_test_failure_demo.py
+++ b/pypy/tool/pytest/pypy_test_failure_demo.py
@@ -8,6 +8,10 @@
def test_interp_func(space):
assert space.is_true(space.w_None)
+def test_interp_reinterpret(space):
+ a = 1
+ assert a == 2
+
class TestInterpTest:
def test_interp_method(self):
assert self.space.is_true(self.space.w_False)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit