@@ -2630,7 +2630,7 @@ def create_array(read_only=False, **kwargs):
26302630 cache_metadata = kwargs .pop ("cache_metadata" , True )
26312631 cache_attrs = kwargs .pop ("cache_attrs" , True )
26322632 write_empty_chunks = kwargs .pop ('write_empty_chunks' , True )
2633- kwargs .setdefault ("compressor" , Blosc ())
2633+ kwargs .setdefault ("compressor" , Blosc (blocksize = 256 ))
26342634 init_array (store , ** kwargs )
26352635 return Array (
26362636 store ,
@@ -2644,11 +2644,11 @@ def create_array(read_only=False, **kwargs):
26442644 def test_hexdigest (self ):
26452645 # Check basic 1-D array
26462646 z = self .create_array (shape = (1050 ,), chunks = 100 , dtype = "<i4" )
2647- assert "f710da18d45d38d4aaf2afd7fb822fdd73d02957 " == z .hexdigest ()
2647+ assert "dd7577d645c38767cf6f6d1ef8fd64002883a014 " == z .hexdigest ()
26482648
26492649 # Check basic 1-D array with different type
26502650 z = self .create_array (shape = (1050 ,), chunks = 100 , dtype = "<f4" )
2651- assert "1437428e69754b1e1a38bd7fc9e43669577620db " == z .hexdigest ()
2651+ assert "aa0de9892cf1ed3cda529efbf3233720b84489b7 " == z .hexdigest ()
26522652
26532653 # Check basic 2-D array
26542654 z = self .create_array (
@@ -2659,17 +2659,17 @@ def test_hexdigest(self):
26592659 chunks = 10 ,
26602660 dtype = "<i4" ,
26612661 )
2662- assert "6c530b6b9d73e108cc5ee7b6be3d552cc994bdbe " == z .hexdigest ()
2662+ assert "e6191c44cf958576c29c41cef0f55b028a4dbdff " == z .hexdigest ()
26632663
26642664 # Check basic 1-D array with some data
26652665 z = self .create_array (shape = (1050 ,), chunks = 100 , dtype = "<i4" )
26662666 z [200 :400 ] = np .arange (200 , 400 , dtype = "i4" )
2667- assert "4c0a76fb1222498e09dcd92f7f9221d6cea8b40e " == z .hexdigest ()
2667+ assert "88adeeabb819feecccadf50152293dbb42f9107e " == z .hexdigest ()
26682668
26692669 # Check basic 1-D array with attributes
26702670 z = self .create_array (shape = (1050 ,), chunks = 100 , dtype = "<i4" )
26712671 z .attrs ["foo" ] = "bar"
2672- assert "05b0663ffe1785f38d3a459dec17e57a18f254af " == z .hexdigest ()
2672+ assert "1426e084427f9920e29c9ec81b663d1005849455 " == z .hexdigest ()
26732673
26742674 def test_non_cont (self ):
26752675 z = self .create_array (shape = (500 , 500 , 500 ), chunks = (50 , 50 , 50 ), dtype = "<i4" )
0 commit comments