Пример #1
0
 def test_get_blocksize(self):
     s = b'0123456789' * 1000
     blosc.set_blocksize(2**14)
     blosc.compress(s, typesize=1)
     d = blosc.get_blocksize()
     self.assertEqual(d, 2**14)
Пример #2
0
 def test_get_blocksize(self):
     s = b'0123456789' * 1000
     blosc.set_blocksize(2**14)
     blosc.compress(s, typesize=1)
     d = blosc.get_blocksize()
     self.assertEqual(d, 2**14)