Skip to content

Commit cfaed8c

Browse files
committed
Increase subprocess test timeout for slow architectures
The default 60-second timeout in subprocess_run_for_testing is too short for riscv64, causing test_sphinxext and test_determinism_check to fail with TimeoutExpired. Increase the default to 300 seconds.
1 parent 7bef015 commit cfaed8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/matplotlib/testing/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def setup():
5151
set_reproducibility_for_testing()
5252

5353

54-
def subprocess_run_for_testing(command, env=None, timeout=60, stdout=None,
54+
def subprocess_run_for_testing(command, env=None, timeout=300, stdout=None,
5555
stderr=None, check=False, text=True,
5656
capture_output=False, **kwargs):
5757
"""

0 commit comments

Comments
 (0)