(cls)
| 125 | class SampleTestCase(unittest.TestCase): |
| 126 | @classmethod |
| 127 | def setUpClass(cls): |
| 128 | # Here add resource files |
| 129 | cls.slices_resource_path = ( |
| 130 | Path(TEST_DIRS[_TestType.functional]) / "cpython_generated_slices.py" |
| 131 | ) |
| 132 | if cls.slices_resource_path.exists(): |
| 133 | cls.slices_resource_path.unlink() |
| 134 | |
| 135 | generate_slices(cls.slices_resource_path) |
| 136 | |
| 137 | @classmethod |
| 138 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected