forked from naylor-b/testflo
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Note that a similar bug exists with setUpModule/tearDownModule when used with MPI.
Reported by @sebasgo to naylor-b/testflo:
testflo sets _tcase_fixture_first and _tcase_fixture_last to its intended state during the test case discovery. This way, testflo ensures setUpClass() and tearDownClass() is only called for first or last test in a test class, respectively.
With MPI enabled, each test is run in its own process which instantiates new test instances where these attributes are kept at their default value (False). So setUpClass and tearDownClass are never executed.
Metadata
Metadata
Assignees
Labels
No labels