Skip to content

Commit

Permalink
parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj authored Oct 12, 2023
1 parent c2a8c55 commit 5370a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/framework/systemtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,9 +835,9 @@ def test_system_info(self):
def test_det_parallelism_native(self):
"""Test det_parallelism function (native calls)."""
self.assertTrue(det_parallelism() > 0)
# specified parallellism
# specified parallelism
self.assertEqual(det_parallelism(par=5), 5)
# max parallellism caps
# max parallelism caps
self.assertEqual(det_parallelism(maxpar=1), 1)
self.assertEqual(det_parallelism(16, 1), 1)
self.assertEqual(det_parallelism(par=5, maxpar=2), 2)
Expand Down

0 comments on commit 5370a66

Please sign in to comment.