Skip to content

Commit

Permalink
subprocess run instead of call
Browse files Browse the repository at this point in the history
  • Loading branch information
clbarnes committed Apr 12, 2023
1 parent 88e63fd commit 0f550b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_ncollpyde.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ def test_configure_threadpool_subprocess():
"from ncollpyde import configure_threadpool; configure_threadpool(2, 'prefix')"
)
args = [sys.executable, "-c", cmd]
assert sp.call(args) == 0

sp.run(args, check=True, text=True, capture_output=True)


def test_configure_threadpool_twice():
Expand Down

0 comments on commit 0f550b4

Please sign in to comment.