From 19210d1c81b4536eff603733980d1f9486949934 Mon Sep 17 00:00:00 2001 From: Jeff Reback Date: Tue, 16 Feb 2016 20:05:09 -0500 Subject: [PATCH] TST: skip blosc tests on msgpacks --- pandas/io/tests/test_packers.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'