MCPcopy Create free account
hub / github.com/catboost/catboost / configure_pdb_on_demand

Function configure_pdb_on_demand

library/python/pytest/plugins/ya.py:70–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68
69
70def configure_pdb_on_demand():
71 import signal
72
73 if hasattr(signal, "SIGUSR1"):
74 def on_signal(*args):
75 import ipdb
76 ipdb.set_trace()
77
78 signal.signal(signal.SIGUSR1, on_signal)
79
80
81class CustomImporter(object):

Callers 1

pytest_configureFunction · 0.85

Calls 1

hasattrFunction · 0.85

Tested by

no test coverage detected