correct attribute name

This commit is contained in:
Benjamin Peterson 2011-05-26 16:18:18 -05:00
parent 32a67f9622
commit bf3d9f3737
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ def pytest_configure(config):
m.setattr(util, '_reprcompare', callbinrepr)
if mode != "on":
rewrite_asserts = None
config._assertion = AssertionState(config, mode)
config._assertion.trace("configured with mode set to %r" % (mode,))
config._assertstate = AssertionState(config, mode)
config._assertstate.trace("configured with mode set to %r" % (mode,))
def _write_pyc(co, source_path):
if hasattr(imp, "cache_from_source"):