Skip to content

Commit fbfaf8f

Browse files
sarahmonodGus Monod
authored andcommitted
Increase --pystack-threshold
This is necessary so that a test sleeping for 1 second doesn't trigger a `pystack` print out. It also makes it clearer that this is what the test was trying to check. Signed-off-by: Gus Monod <gmonod1@bloomberg.net>
1 parent 32175f7 commit fbfaf8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_pytest_pystack.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ def test_silent_in_debugged_tests_failing_before_timeout(testdir, monkeypatch):
179179
@pytest.mark.parametrize(
180180
["pytestarg", "pytestconfig"],
181181
[
182-
("--pystack-threshold=1", ""), # configured in CLI
183-
("", "pystack_threshold=1"), # configured in config file
184-
("--pystack-threshold=1", "pystack_threshold=10"), # CLI takes preference
182+
("--pystack-threshold=2", ""), # configured in CLI
183+
("", "pystack_threshold=2"), # configured in config file
184+
("--pystack-threshold=2", "pystack_threshold=10"), # CLI takes preference
185185
],
186186
)
187187
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)