Skip to content

Commit

Permalink
Error type changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Oct 31, 2023
1 parent faa6643 commit cf7f522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_meta_executor_parallel(self):
self.assertTrue(fs_1.done())

def test_errors(self):
with self.assertRaises(ValueError):
with self.assertRaises(TypeError):
PyMPIExecutor(max_workers=1, cores_per_worker=1, threads_per_core=2)
with self.assertRaises(ValueError):
with self.assertRaises(TypeError):
PyMPIExecutor(max_workers=1, cores_per_worker=1, gpus_per_worker=1)

0 comments on commit cf7f522

Please sign in to comment.