Skip to content

Commit

Permalink
setting multiprocessing start method
Browse files Browse the repository at this point in the history
  • Loading branch information
krneta committed Nov 29, 2023
1 parent 1876fde commit 091378d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit_tests/braket/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
def test_all_imports():
modules = get_all_modules_to_test()
processes = []
multiprocessing.set_start_method('spawn')
for module in modules:
# We create a separate process to make sure the imports do not interfere with each-other.
process = multiprocessing.Process(target=import_module, args=(module,))
Expand Down

0 comments on commit 091378d

Please sign in to comment.