Test the 'action' callback
(self)
| 2330 | |
| 2331 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 2332 | def test_action(self): |
| 2333 | """ |
| 2334 | Test the 'action' callback |
| 2335 | """ |
| 2336 | results = self.DummyList() |
| 2337 | barrier = self.Barrier(self.N, action=AppendTrue(results)) |
| 2338 | self.run_threads(self._test_action_f, (barrier, results)) |
| 2339 | self.assertEqual(len(results), 1) |
| 2340 | |
| 2341 | @classmethod |
| 2342 | def _test_abort_f(cls, barrier, results1, results2): |
nothing calls this directly
no test coverage detected