Skip to content

Commit adb2e2c

Browse files
QuLogicjakirkham
authored andcommitted
Fix tests on big endian machines (#427)
* Force test arrays to be little-endian. These are saved on disk as little-endian and need to be compared as such. * Add explicit byteorder on hexdigest tests. Fixes #425.
1 parent fb8e6d5 commit adb2e2c

File tree

4 files changed

+85
-85
lines changed

4 files changed

+85
-85
lines changed

zarr/tests/test_core.py

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_array_init(self):
4747

4848
# normal initialization
4949
store = dict()
50-
init_array(store, shape=100, chunks=10)
50+
init_array(store, shape=100, chunks=10, dtype='<f8')
5151
a = Array(store)
5252
assert isinstance(a, Array)
5353
assert (100,) == a.shape
@@ -60,7 +60,7 @@ def test_array_init(self):
6060

6161
# initialize at path
6262
store = dict()
63-
init_array(store, shape=100, chunks=10, path='foo/bar')
63+
init_array(store, shape=100, chunks=10, path='foo/bar', dtype='<f8')
6464
a = Array(store, path='foo/bar')
6565
assert isinstance(a, Array)
6666
assert (100,) == a.shape
@@ -503,24 +503,24 @@ def test_setitem_data_not_shared(self):
503503

504504
def test_hexdigest(self):
505505
# Check basic 1-D array
506-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
506+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
507507
assert '063b02ff8d9d3bab6da932ad5828b506ef0a6578' == z.hexdigest()
508508

509509
# Check basic 1-D array with different type
510-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
510+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
511511
assert 'f97b84dc9ffac807415f750100108764e837bb82' == z.hexdigest()
512512

513513
# Check basic 2-D array
514-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
514+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
515515
assert '4f797d7bdad0fa1c9fa8c80832efb891a68de104' == z.hexdigest()
516516

517517
# Check basic 1-D array with some data
518-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
518+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
519519
z[200:400] = np.arange(200, 400, dtype='i4')
520520
assert '14470724dca6c1837edddedc490571b6a7f270bc' == z.hexdigest()
521521

522522
# Check basic 1-D array with attributes
523-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
523+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
524524
z.attrs['foo'] = 'bar'
525525
assert '2a1046dd99b914459b3e86be9dde05027a07d209' == z.hexdigest()
526526

@@ -1293,24 +1293,24 @@ def create_array(read_only=False, **kwargs):
12931293

12941294
def test_hexdigest(self):
12951295
# Check basic 1-D array
1296-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1296+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
12971297
assert 'f710da18d45d38d4aaf2afd7fb822fdd73d02957' == z.hexdigest()
12981298

12991299
# Check basic 1-D array with different type
1300-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
1300+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
13011301
assert '1437428e69754b1e1a38bd7fc9e43669577620db' == z.hexdigest()
13021302

13031303
# Check basic 2-D array
1304-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
1304+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
13051305
assert 'dde44c72cc530bd6aae39b629eb15a2da627e5f9' == z.hexdigest()
13061306

13071307
# Check basic 1-D array with some data
1308-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1308+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
13091309
z[200:400] = np.arange(200, 400, dtype='i4')
13101310
assert '4c0a76fb1222498e09dcd92f7f9221d6cea8b40e' == z.hexdigest()
13111311

13121312
# Check basic 1-D array with attributes
1313-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1313+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
13141314
z.attrs['foo'] = 'bar'
13151315
assert '05b0663ffe1785f38d3a459dec17e57a18f254af' == z.hexdigest()
13161316

@@ -1348,24 +1348,24 @@ def create_array(read_only=False, **kwargs):
13481348

13491349
def test_hexdigest(self):
13501350
# Check basic 1-D array
1351-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1351+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
13521352
assert 'f710da18d45d38d4aaf2afd7fb822fdd73d02957' == z.hexdigest()
13531353

13541354
# Check basic 1-D array with different type
1355-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
1355+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
13561356
assert '1437428e69754b1e1a38bd7fc9e43669577620db' == z.hexdigest()
13571357

13581358
# Check basic 2-D array
1359-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
1359+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
13601360
assert 'dde44c72cc530bd6aae39b629eb15a2da627e5f9' == z.hexdigest()
13611361

13621362
# Check basic 1-D array with some data
1363-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1363+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
13641364
z[200:400] = np.arange(200, 400, dtype='i4')
13651365
assert '4c0a76fb1222498e09dcd92f7f9221d6cea8b40e' == z.hexdigest()
13661366

13671367
# Check basic 1-D array with attributes
1368-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1368+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
13691369
z.attrs['foo'] = 'bar'
13701370
assert '05b0663ffe1785f38d3a459dec17e57a18f254af' == z.hexdigest()
13711371

@@ -1704,24 +1704,24 @@ def test_compressors(self):
17041704

17051705
def test_hexdigest(self):
17061706
# Check basic 1-D array
1707-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1707+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
17081708
assert 'c6b83adfad999fbd865057531d749d87cf138f58' == z.hexdigest()
17091709

17101710
# Check basic 1-D array with different type
1711-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
1711+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
17121712
assert 'a3d6d187536ecc3a9dd6897df55d258e2f52f9c5' == z.hexdigest()
17131713

17141714
# Check basic 2-D array
1715-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
1715+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
17161716
assert '189690c5701d33a41cd7ce9aa0ac8dac49a69c51' == z.hexdigest()
17171717

17181718
# Check basic 1-D array with some data
1719-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1719+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
17201720
z[200:400] = np.arange(200, 400, dtype='i4')
17211721
assert 'b63f031031dcd5248785616edcb2d6fe68203c28' == z.hexdigest()
17221722

17231723
# Check basic 1-D array with attributes
1724-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1724+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
17251725
z.attrs['foo'] = 'bar'
17261726
assert '0cfc673215a8292a87f3c505e2402ce75243c601' == z.hexdigest()
17271727

@@ -1854,24 +1854,24 @@ def create_array(self, read_only=False, **kwargs):
18541854

18551855
def test_hexdigest(self):
18561856
# Check basic 1-D array
1857-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1857+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
18581858
assert 'd3da3d485de4a5fcc6d91f9dfc6a7cba9720c561' == z.hexdigest()
18591859

18601860
# Check basic 1-D array with different type
1861-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
1861+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
18621862
assert '443b8dee512e42946cb63ff01d28e9bee8105a5f' == z.hexdigest()
18631863

18641864
# Check basic 2-D array
1865-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
1865+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
18661866
assert 'de841ca276042993da53985de1e7769f5d0fc54d' == z.hexdigest()
18671867

18681868
# Check basic 1-D array with some data
1869-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1869+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
18701870
z[200:400] = np.arange(200, 400, dtype='i4')
18711871
assert '42b6ae0d50ec361628736ab7e68fe5fefca22136' == z.hexdigest()
18721872

18731873
# Check basic 1-D array with attributes
1874-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1874+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
18751875
z.attrs['foo'] = 'bar'
18761876
assert 'a0535f31c130f5e5ac66ba0713d1c1ceaebd089b' == z.hexdigest()
18771877

@@ -1890,24 +1890,24 @@ def create_array(self, read_only=False, **kwargs):
18901890

18911891
def test_hexdigest(self):
18921892
# Check basic 1-D array
1893-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1893+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
18941894
assert '33141032439fb1df5e24ad9891a7d845b6c668c8' == z.hexdigest()
18951895

18961896
# Check basic 1-D array with different type
1897-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
1897+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
18981898
assert '44d719da065c88a412d609a5500ff41e07b331d6' == z.hexdigest()
18991899

19001900
# Check basic 2-D array
1901-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
1901+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
19021902
assert 'f57a9a73a4004490fe1b871688651b8a298a5db7' == z.hexdigest()
19031903

19041904
# Check basic 1-D array with some data
1905-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1905+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19061906
z[200:400] = np.arange(200, 400, dtype='i4')
19071907
assert '1e1bcaac63e4ef3c4a68f11672537131c627f168' == z.hexdigest()
19081908

19091909
# Check basic 1-D array with attributes
1910-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1910+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19111911
z.attrs['foo'] = 'bar'
19121912
assert '86d7b9bf22dccbeaa22f340f38be506b55e76ff2' == z.hexdigest()
19131913

@@ -1926,24 +1926,24 @@ def create_array(self, read_only=False, **kwargs):
19261926

19271927
def test_hexdigest(self):
19281928
# Check basic 1-D array
1929-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1929+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19301930
assert '7ff2ae8511eac915fad311647c168ccfe943e788' == z.hexdigest()
19311931

19321932
# Check basic 1-D array with different type
1933-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
1933+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
19341934
assert '962705c861863495e9ccb7be7735907aa15e85b5' == z.hexdigest()
19351935

19361936
# Check basic 2-D array
1937-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
1937+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
19381938
assert 'deb675ff91dd26dba11b65aab5f19a1f21a5645b' == z.hexdigest()
19391939

19401940
# Check basic 1-D array with some data
1941-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1941+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19421942
z[200:400] = np.arange(200, 400, dtype='i4')
19431943
assert '90e30bdab745a9641cd0eb605356f531bc8ec1c3' == z.hexdigest()
19441944

19451945
# Check basic 1-D array with attributes
1946-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1946+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19471947
z.attrs['foo'] = 'bar'
19481948
assert '95d40c391f167db8b1290e3c39d9bf741edacdf6' == z.hexdigest()
19491949

@@ -1969,24 +1969,24 @@ def create_array(self, read_only=False, **kwargs):
19691969

19701970
def test_hexdigest(self):
19711971
# Check basic 1-D array
1972-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1972+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19731973
assert '93ecaa530a1162a9d48a3c1dcee4586ccfc59bae' == z.hexdigest()
19741974

19751975
# Check basic 1-D array with different type
1976-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
1976+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
19771977
assert '04a9755a0cd638683531b7816c7fa4fbb6f577f2' == z.hexdigest()
19781978

19791979
# Check basic 2-D array
1980-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
1980+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
19811981
assert 'b93b163a21e8500519250a6defb821d03eb5d9e0' == z.hexdigest()
19821982

19831983
# Check basic 1-D array with some data
1984-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1984+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19851985
z[200:400] = np.arange(200, 400, dtype='i4')
19861986
assert 'cde499f3dc945b4e97197ff8e3cf8188a1262c35' == z.hexdigest()
19871987

19881988
# Check basic 1-D array with attributes
1989-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
1989+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
19901990
z.attrs['foo'] = 'bar'
19911991
assert 'e2cf3afbf66ad0e28a2b6b68b1b07817c69aaee2' == z.hexdigest()
19921992

@@ -2012,24 +2012,24 @@ def create_array(read_only=False, **kwargs):
20122012

20132013
def test_hexdigest(self):
20142014
# Check basic 1-D array
2015-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
2015+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
20162016
assert 'b80367c5599d47110d42bd8886240c2f46620dba' == z.hexdigest()
20172017

20182018
# Check basic 1-D array with different type
2019-
z = self.create_array(shape=(1050,), chunks=100, dtype='f4')
2019+
z = self.create_array(shape=(1050,), chunks=100, dtype='<f4')
20202020
assert '95a7b2471225e73199c9716d21e8d3dd6e5f6f2a' == z.hexdigest()
20212021

20222022
# Check basic 2-D array
2023-
z = self.create_array(shape=(20, 35,), chunks=10, dtype='i4')
2023+
z = self.create_array(shape=(20, 35,), chunks=10, dtype='<i4')
20242024
assert '9abf3ad54413ab11855d88a5e0087cd416657e02' == z.hexdigest()
20252025

20262026
# Check basic 1-D array with some data
2027-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
2027+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
20282028
z[200:400] = np.arange(200, 400, dtype='i4')
20292029
assert 'c649ad229bc5720258b934ea958570c2f354c2eb' == z.hexdigest()
20302030

20312031
# Check basic 1-D array with attributes
2032-
z = self.create_array(shape=(1050,), chunks=100, dtype='i4')
2032+
z = self.create_array(shape=(1050,), chunks=100, dtype='<i4')
20332033
z.attrs['foo'] = 'bar'
20342034
assert '62fc9236d78af18a5ec26c12eea1d33bce52501e' == z.hexdigest()
20352035

zarr/tests/test_meta.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_encode_decode_array_1():
3030
meta = dict(
3131
shape=(100,),
3232
chunks=(10,),
33-
dtype=np.dtype('f8'),
33+
dtype=np.dtype('<f8'),
3434
compressor=Zlib(1).get_config(),
3535
fill_value=None,
3636
filters=None,
@@ -67,9 +67,9 @@ def test_encode_decode_array_1():
6767
def test_encode_decode_array_2():
6868

6969
# some variations
70-
df = Delta(astype='u2', dtype='V14')
70+
df = Delta(astype='<u2', dtype='V14')
7171
compressor = Blosc(cname='lz4', clevel=3, shuffle=2)
72-
dtype = np.dtype([('a', 'i4'), ('b', 'S10')])
72+
dtype = np.dtype([('a', '<i4'), ('b', 'S10')])
7373
fill_value = np.zeros((), dtype=dtype)[()]
7474
meta = dict(
7575
shape=(100, 100),
@@ -229,7 +229,7 @@ def test_encode_decode_array_dtype_shape():
229229
meta = dict(
230230
shape=(100,),
231231
chunks=(10,),
232-
dtype=np.dtype('(10, 10)f8'),
232+
dtype=np.dtype('(10, 10)<f8'),
233233
compressor=Zlib(1).get_config(),
234234
fill_value=None,
235235
filters=None,
@@ -270,7 +270,7 @@ def test_encode_decode_array_structured():
270270
meta = dict(
271271
shape=(100,),
272272
chunks=(10,),
273-
dtype=np.dtype('i8, (10, 10)f8, (5, 10, 15)u1'),
273+
dtype=np.dtype('<i8, (10, 10)<f8, (5, 10, 15)u1'),
274274
compressor=Zlib(1).get_config(),
275275
fill_value=None,
276276
filters=None,
@@ -319,7 +319,7 @@ def test_encode_decode_fill_values_nan():
319319
meta = dict(
320320
shape=(100,),
321321
chunks=(10,),
322-
dtype=np.dtype('f8'),
322+
dtype=np.dtype('<f8'),
323323
compressor=Zlib(1).get_config(),
324324
fill_value=v,
325325
filters=None,

zarr/tests/test_storage.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,33 +1444,33 @@ def test_format_compatibility():
14441444
np.random.seed(42)
14451445

14461446
arrays_chunks = [
1447-
(np.arange(1111, dtype='i1'), 100),
1448-
(np.arange(1111, dtype='i2'), 100),
1449-
(np.arange(1111, dtype='i4'), 100),
1450-
(np.arange(1111, dtype='i8'), 1000),
1451-
(np.random.randint(0, 200, size=2222, dtype='u1'), 100),
1452-
(np.random.randint(0, 2000, size=2222, dtype='u2'), 100),
1453-
(np.random.randint(0, 2000, size=2222, dtype='u4'), 100),
1454-
(np.random.randint(0, 2000, size=2222, dtype='u8'), 100),
1455-
(np.linspace(0, 1, 3333, dtype='f2'), 100),
1456-
(np.linspace(0, 1, 3333, dtype='f4'), 100),
1457-
(np.linspace(0, 1, 3333, dtype='f8'), 100),
1458-
(np.random.normal(loc=0, scale=1, size=4444).astype('f2'), 100),
1459-
(np.random.normal(loc=0, scale=1, size=4444).astype('f4'), 100),
1460-
(np.random.normal(loc=0, scale=1, size=4444).astype('f8'), 100),
1447+
(np.arange(1111, dtype='<i1'), 100),
1448+
(np.arange(1111, dtype='<i2'), 100),
1449+
(np.arange(1111, dtype='<i4'), 100),
1450+
(np.arange(1111, dtype='<i8'), 1000),
1451+
(np.random.randint(0, 200, size=2222, dtype='u1').astype('<u1'), 100),
1452+
(np.random.randint(0, 2000, size=2222, dtype='u2').astype('<u2'), 100),
1453+
(np.random.randint(0, 2000, size=2222, dtype='u4').astype('<u4'), 100),
1454+
(np.random.randint(0, 2000, size=2222, dtype='u8').astype('<u8'), 100),
1455+
(np.linspace(0, 1, 3333, dtype='<f2'), 100),
1456+
(np.linspace(0, 1, 3333, dtype='<f4'), 100),
1457+
(np.linspace(0, 1, 3333, dtype='<f8'), 100),
1458+
(np.random.normal(loc=0, scale=1, size=4444).astype('<f2'), 100),
1459+
(np.random.normal(loc=0, scale=1, size=4444).astype('<f4'), 100),
1460+
(np.random.normal(loc=0, scale=1, size=4444).astype('<f8'), 100),
14611461
(np.random.choice([b'A', b'C', b'G', b'T'],
14621462
size=5555, replace=True).astype('S'), 100),
14631463
(np.random.choice(['foo', 'bar', 'baz', 'quux'],
1464-
size=5555, replace=True).astype('U'), 100),
1464+
size=5555, replace=True).astype('<U'), 100),
14651465
(np.random.choice([0, 1/3, 1/7, 1/9, np.nan],
1466-
size=5555, replace=True).astype('f8'), 100),
1466+
size=5555, replace=True).astype('<f8'), 100),
14671467
(np.random.randint(0, 2, size=5555, dtype=bool), 100),
1468-
(np.arange(20000, dtype='i4').reshape(2000, 10, order='C'), (100, 3)),
1469-
(np.arange(20000, dtype='i4').reshape(200, 100, order='F'), (100, 30)),
1470-
(np.arange(20000, dtype='i4').reshape(200, 10, 10, order='C'), (100, 3, 3)),
1471-
(np.arange(20000, dtype='i4').reshape(20, 100, 10, order='F'), (10, 30, 3)),
1472-
(np.arange(20000, dtype='i4').reshape(20, 10, 10, 10, order='C'), (10, 3, 3, 3)),
1473-
(np.arange(20000, dtype='i4').reshape(20, 10, 10, 10, order='F'), (10, 3, 3, 3)),
1468+
(np.arange(20000, dtype='<i4').reshape(2000, 10, order='C'), (100, 3)),
1469+
(np.arange(20000, dtype='<i4').reshape(200, 100, order='F'), (100, 30)),
1470+
(np.arange(20000, dtype='<i4').reshape(200, 10, 10, order='C'), (100, 3, 3)),
1471+
(np.arange(20000, dtype='<i4').reshape(20, 100, 10, order='F'), (10, 30, 3)),
1472+
(np.arange(20000, dtype='<i4').reshape(20, 10, 10, 10, order='C'), (10, 3, 3, 3)),
1473+
(np.arange(20000, dtype='<i4').reshape(20, 10, 10, 10, order='F'), (10, 3, 3, 3)),
14741474
]
14751475

14761476
compressors = [

0 commit comments

Comments
 (0)