(
*,
prefix: str,
dir: Path, # ruff:ignore[builtin-argument-shadowing] # matches mkdtemp
)
| 381 | mkdtemp = tempfile.mkdtemp |
| 382 | |
| 383 | def create_directory( |
| 384 | *, |
| 385 | prefix: str, |
| 386 | dir: Path, # ruff:ignore[builtin-argument-shadowing] # matches mkdtemp |
| 387 | ) -> str: |
| 388 | directory: Final[str] = mkdtemp(prefix=prefix, dir=dir) |
| 389 | directories.append(Path(directory)) |
| 390 | return directory |
| 391 | |
| 392 | mocker.patch("tempfile.mkdtemp", autospec=True, side_effect=create_directory) |
| 393 | return directories |
nothing calls this directly
no outgoing calls
no test coverage detected