Skip to content

Commit 3e1429c

Browse files
committed
chore(test_util): Simplify empty file
1 parent 28422de commit 3e1429c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def test_mkdir_p(tmp_path: pathlib.Path):
99
path = tmp_path / "file"
10-
path.write_text("", encoding="utf-8")
10+
path.touch()
1111

1212
with pytest.raises(Exception) as excinfo:
1313
mkdir_p(path)

0 commit comments

Comments
 (0)