()
| 317 | from unittest.case import _SubTest # type: ignore[attr-defined] |
| 318 | |
| 319 | def add_skip() -> None: |
| 320 | try: |
| 321 | raise skip.Exception(reason, _use_item_location=True) |
| 322 | except skip.Exception: |
| 323 | self._addexcinfo(sys.exc_info()) |
| 324 | |
| 325 | if not handle_subtests: |
| 326 | add_skip() |
nothing calls this directly
no test coverage detected