(request)
| 615 | return |
| 616 | |
| 617 | def xunit_setup_function_fixture(request) -> Generator[None]: |
| 618 | if request.instance is not None: |
| 619 | # in this case we are bound to an instance, so we need to let |
| 620 | # setup_method handle this |
| 621 | yield |
| 622 | return |
| 623 | function = request.function |
| 624 | if setup_function is not None: |
| 625 | _call_with_optional_argument(setup_function, function) |
| 626 | yield |
| 627 | if teardown_function is not None: |
| 628 | _call_with_optional_argument(teardown_function, function) |
| 629 | |
| 630 | fixtures.register_fixture( |
| 631 | # Use a unique name to speed up lookup. |
nothing calls this directly
no test coverage detected