From ae8ee08ac01ca68d6298d1c0997d37f11d5fc843 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 29 Jun 2011 13:28:04 -0500 Subject: [PATCH] adjust for new option --- testing/test_assertion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_assertion.py b/testing/test_assertion.py index 69f3ebc3f..5a43c3bd7 100644 --- a/testing/test_assertion.py +++ b/testing/test_assertion.py @@ -120,7 +120,7 @@ class TestAssert_reprcompare: expl = ' '.join(callequal('foo', 'bar')) assert 'raised in repr()' not in expl -@pytest.mark.skipif("config._assertstate.mode != 'on'") +@pytest.mark.skipif("config._assertstate.mode != 'rewrite'") def test_rewritten(): assert "@py_builtins" in globals()