Skip to content

Commit b3dfc32

Browse files
committed
Fix blosc compressor test
1 parent 9d9fa24 commit b3dfc32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/io/tests/test_packers.py

+4
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,10 @@ def test_compression_zlib(self):
476476
assert_frame_equal(self.frame[k], i_rec[k])
477477

478478
def test_compression_blosc(self):
479+
try:
480+
import blosc
481+
except ImportError:
482+
raise nose.SkipTest('no blosc')
479483
i_rec = self.encode_decode(self.frame, compress='blosc')
480484
for k in self.frame.keys():
481485
assert_frame_equal(self.frame[k], i_rec[k])

0 commit comments

Comments
 (0)