Skip to content

Commit d227728

Browse files
Import list of greetings from numcodecs
1 parent b0dddca commit d227728

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/v2/test_core.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@
2727
Zlib,
2828
)
2929
from numcodecs.compat import ensure_bytes, ensure_ndarray
30-
from numcodecs.tests.common import greetings
30+
31+
try:
32+
from numcodecs.tests.common import greetings
33+
except ModuleNotFoundError:
34+
greetings = ['¡Hola mundo!', 'Hej Världen!', 'Servus Woid!', 'Hei maailma!',
35+
'Xin chào thế giới', 'Njatjeta Botë!', 'Γεια σου κόσμε!',
36+
'こんにちは世界', '世界,你好!', 'Helló, világ!', 'Zdravo svete!',
37+
'เฮลโลเวิลด์']
3138
from numpy.testing import assert_array_almost_equal, assert_array_equal
3239

3340
import zarr.v2

0 commit comments

Comments
 (0)