diff --git a/pandas/io/tests/test_packers.py b/pandas/io/tests/test_packers.py index d0e7d00d79cb0..9387a6069d974 100644 --- a/pandas/io/tests/test_packers.py +++ b/pandas/io/tests/test_packers.py @@ -725,7 +725,11 @@ def read_msgpacks(self, version): f.split('.')[-4][-1] == '2'): continue vf = os.path.join(pth, f) - self.compare(vf, version) + try: + self.compare(vf, version) + except ImportError: + # blosc not installed + continue n += 1 assert n > 0, 'Msgpack files are not tested'