Skip to content

Commit 78657d4

Browse files
committed
TST: always set a (long) timeout for subprocess
If you are using this and really need unbounded timeouts, explicitly pass `timeout=None`
1 parent 2d2b113 commit 78657d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/__init__.py

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

5252

53-
def subprocess_run_for_testing(command, env=None, timeout=None, stdout=None,
53+
def subprocess_run_for_testing(command, env=None, timeout=60, stdout=None,
5454
stderr=None, check=False, text=True,
5555
capture_output=False):
5656
"""

0 commit comments

Comments
 (0)