We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28422de commit 3e1429cCopy full SHA for 3e1429c
tests/test_util.py
@@ -7,7 +7,7 @@
7
8
def test_mkdir_p(tmp_path: pathlib.Path):
9
path = tmp_path / "file"
10
- path.write_text("", encoding="utf-8")
+ path.touch()
11
12
with pytest.raises(Exception) as excinfo:
13
mkdir_p(path)
0 commit comments