We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389a669 commit 198b792Copy full SHA for 198b792
pytest_timeout.py
@@ -75,7 +75,7 @@ def pytest_addoption(parser):
75
help=METHOD_DESC,
76
)
77
group.addoption(
78
- "--disable-debugger-detection",
+ "--timeout-disable-debugger-detection",
79
dest="timeout_disable_debugger_detection",
80
action="store_true",
81
help=DISABLE_DEBUGGER_DETECTION_DESC,
test_pytest_timeout.py
@@ -520,7 +520,7 @@ def test_foo():
520
debugging_module=debugging_module, debugging_set_trace=debugging_set_trace
521
522
523
- child = testdir.spawn_pytest(f"{p1} --disable-debugger-detection")
+ child = testdir.spawn_pytest(f"{p1} --timeout-disable-debugger-detection")
524
child.expect("test_foo")
525
time.sleep(1.2)
526
result = child.read().decode().lower()
0 commit comments