[pypy-commit] pypy pytest: add a interp level reinterpetation to the failure demo

RonnyPfannschmidt noreply at buildbot.pypy.org
Mon Apr 23 10:31:14 CEST 2012


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
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) 


More information about the pypy-commit mailing list