Skip to content

Commit a4554e6

Browse files
committed
tests: speed up test_faulthandler.test_timeout
1 parent ec27363 commit a4554e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_faulthandler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ def test_timeout(testdir, enabled):
5858
"""
5959
import time
6060
def test_timeout():
61-
time.sleep(2.0)
61+
time.sleep(0.1)
6262
"""
6363
)
6464
testdir.makeini(
6565
"""
6666
[pytest]
67-
faulthandler_timeout = 1
67+
faulthandler_timeout = 0.01
6868
"""
6969
)
7070
args = ["-p", "no:faulthandler"] if not enabled else []

0 commit comments

Comments
 (0)