correct attribute name
This commit is contained in:
parent
32a67f9622
commit
bf3d9f3737
|
@ -60,8 +60,8 @@ def pytest_configure(config):
|
||||||
m.setattr(util, '_reprcompare', callbinrepr)
|
m.setattr(util, '_reprcompare', callbinrepr)
|
||||||
if mode != "on":
|
if mode != "on":
|
||||||
rewrite_asserts = None
|
rewrite_asserts = None
|
||||||
config._assertion = AssertionState(config, mode)
|
config._assertstate = AssertionState(config, mode)
|
||||||
config._assertion.trace("configured with mode set to %r" % (mode,))
|
config._assertstate.trace("configured with mode set to %r" % (mode,))
|
||||||
|
|
||||||
def _write_pyc(co, source_path):
|
def _write_pyc(co, source_path):
|
||||||
if hasattr(imp, "cache_from_source"):
|
if hasattr(imp, "cache_from_source"):
|
||||||
|
|
Loading…
Reference in New Issue