Skip to content

Commit

Permalink
Use spawn for multiprocessing in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Jun 24, 2024
1 parent ae5d9b9 commit 5d0922d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/continuous-integration/run_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Importing multiprocessing here seems to fix hangs in the test suite on OS X
# see https://github.com/scipy/scipy/issues/11835
import multiprocessing
# Prevent potential issues on multi-threaded execution
multiprocessing.set_start_method('spawn')
import os
import sys

Expand Down

0 comments on commit 5d0922d

Please sign in to comment.