- better python errors

This commit is contained in:
w.pomp
2026-07-13 17:53:52 +02:00
parent 916d301f1b
commit 25d2070ac3
5 changed files with 30 additions and 8 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ def array():
@pytest.fixture()
def image(array):
with tempfile.TemporaryDirectory() as folder:
file = Path(folder) / "tiff" / "test.tif"
file = Path(folder) / "test.tif"
tiffwrite(file, array, "yxczt")
with Imread(file, axes="yxczt") as im:
yield im