Skip to content

Commit f7ef424

Browse files
authored
One more fix for missing directories (#1367)
1 parent d17d8d9 commit f7ef424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/tests/test_attrs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_utf8_encoding(self, zarr_version):
5757
testdir = fixdir / "utf8attrs"
5858
if not testdir.exists(): # pragma: no cover
5959
# store the data - should be one-time operation
60-
testdir.mkdir()
60+
testdir.mkdir(parents=True, exist_ok=True)
6161
with (testdir / ".zattrs").open("w", encoding="utf-8") as f:
6262
f.write('{"foo": "た"}')
6363
with (testdir / ".zgroup").open("w", encoding="utf-8") as f:

0 commit comments

Comments
 (0)