Fix a test causing py38-lsof job failure

This commit is contained in:
Sadra Barikbin 2023-08-05 17:52:53 +03:30
parent 5cb5b1d0e7
commit 9e75ef1277
1 changed files with 17 additions and 17 deletions

View File

@ -40,11 +40,11 @@ class TestParseIni:
tmp_path: Path,
section: str,
filename: str,
monkeypatch: MonkeyPatch,
) -> None:
sub = tmp_path / "sub"
sub.mkdir()
monkeypatch.chdir(sub)
with MonkeyPatch.context() as mp:
mp.chdir(sub)
(tmp_path / filename).write_text(
textwrap.dedent(
"""\