(self)
| 552 | self._thread_cleanup = threading_helper.threading_setup() |
| 553 | |
| 554 | def tearDown(self): |
| 555 | events.set_event_loop(None) |
| 556 | |
| 557 | # Detect CPython bug #23353: ensure that yield/yield-from is not used |
| 558 | # in an except block of a generator |
| 559 | self.assertIsNone(sys.exception()) |
| 560 | |
| 561 | self.doCleanups() |
| 562 | threading_helper.threading_cleanup(*self._thread_cleanup) |
| 563 | support.reap_children() |
| 564 | |
| 565 | |
| 566 | @contextlib.contextmanager |
nothing calls this directly
no test coverage detected