adjust for new option
This commit is contained in:
parent
1707168b62
commit
ae8ee08ac0
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue