(cls)
| 840 | name=f"_xunit_setup_class_fixture_{self.obj.__qualname__}", |
| 841 | ) |
| 842 | def xunit_setup_class_fixture(cls) -> Generator[None, None, None]: |
| 843 | if setup_class is not None: |
| 844 | func = getimfunc(setup_class) |
| 845 | _call_with_optional_argument(func, self.obj) |
| 846 | yield |
| 847 | if teardown_class is not None: |
| 848 | func = getimfunc(teardown_class) |
| 849 | _call_with_optional_argument(func, self.obj) |
| 850 | |
| 851 | self.obj.__pytest_setup_class = xunit_setup_class_fixture |
| 852 |
nothing calls this directly
no test coverage detected