Skip to content

Commit c94af65

Browse files
committed
Clean up warning filters in tests
1 parent 45146ca commit c94af65

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,9 @@ addopts = [
382382
"--durations=10", "-ra", "--strict-config", "--strict-markers",
383383
]
384384
filterwarnings = [
385-
"error:::zarr.*",
386-
"ignore:PY_SSIZE_T_CLEAN will be required.*:DeprecationWarning",
387-
"ignore:The loop argument is deprecated since Python 3.8.*:DeprecationWarning",
388-
"ignore:Creating a zarr.buffer.gpu.*:UserWarning",
389-
"ignore:Duplicate name:UserWarning", # from ZipFile
390-
"ignore:.*is currently not part in the Zarr format 3 specification.*:UserWarning",
385+
"error",
386+
# TODO: explicitly filter or catch the warnings below where we expect them to be emitted in the tests
387+
"ignore:Consolidated metadata is currently not part in the Zarr format 3 specification.*:UserWarning",
391388
]
392389
markers = [
393390
"gpu: mark a test as requiring CuPy and GPU"

0 commit comments

Comments
 (0)