(
tmpdir_factory: TempdirFactory,
tmp_path_factory: pytest.TempPathFactory,
)
| 57 | |
| 58 | |
| 59 | def test_tmpdir_factory( |
| 60 | tmpdir_factory: TempdirFactory, |
| 61 | tmp_path_factory: pytest.TempPathFactory, |
| 62 | ) -> None: |
| 63 | assert str(tmpdir_factory.getbasetemp()) == str(tmp_path_factory.getbasetemp()) |
| 64 | dir = tmpdir_factory.mktemp("foo") |
| 65 | assert dir.exists() |
| 66 | |
| 67 | |
| 68 | def test_tmpdir_equals_tmp_path(tmpdir: LEGACY_PATH, tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected