Properly set immediately_break value
This commit is contained in:
parent
952bbefaac
commit
a46b94950c
|
@ -46,6 +46,8 @@ def pytest_configure(config):
|
||||||
else:
|
else:
|
||||||
pdb_cls = pdb.Pdb
|
pdb_cls = pdb.Pdb
|
||||||
|
|
||||||
|
global immediately_break
|
||||||
|
immediately_break = config.getvalue("trace")
|
||||||
if config.getvalue("usepdb"):
|
if config.getvalue("usepdb"):
|
||||||
config.pluginmanager.register(PdbInvoke(), "pdbinvoke")
|
config.pluginmanager.register(PdbInvoke(), "pdbinvoke")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue