Author: Ronny Pfannschmidt <ronny.pfannschm...@gmx.de> Branch: Changeset: r54654:5ce4a6d6c2ec Date: 2012-04-23 10:30 +0200 http://bitbucket.org/pypy/pypy/changeset/5ce4a6d6c2ec/
Log: merge from pytest diff --git a/pypy/pytest.ini b/pypy/pytest.ini --- a/pypy/pytest.ini +++ b/pypy/pytest.ini @@ -1,2 +1,2 @@ [pytest] -addopts = --assert=plain -rf +addopts = --assert=reinterp -rf 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 pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit