Skip to content

Commit 3b83ba4

Browse files
committed
adjust exception text test
1 parent 4622b8b commit 3b83ba4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numcodecs/tests/test_zarr3_import.py

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

55

66
def test_zarr3_import():
7-
ERROR_MESSAGE_MATCH = "zarr 3.1.3 or later.*"
7+
ERROR_MESSAGE_MATCH = "Zarr 3.1.3 or later*"
88

99
try:
1010
import zarr # noqa: F401

numcodecs/zarr3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __getattr__(name: str) -> Any:
3737

3838
zarr_version = version('zarr')
3939
if Version(zarr_version) < Version("3.1.3"): # pragma: no cover
40-
msg = f"zarr 3.1.3 or later is required to use the numcodecs zarr integration. Got {zarr_version}."
40+
msg = f"Zarr 3.1.3 or later is required to use the numcodecs zarr integration. Got {zarr_version}."
4141
raise ImportError(msg)
4242
except ImportError as e: # pragma: no cover
4343
msg = "zarr could not be imported. Zarr 3.1.3 or later is required to use the numcodecs zarr integration."

0 commit comments

Comments
 (0)