Skip to content

Commit a33d078

Browse files
committed
Skip bzip2 if not installed
1 parent 09d8a74 commit a33d078

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

appveyor.yml

-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ install:
7878
- SET REQ=ci\requirements-%PYTHON_VERSION%_WIN.run
7979
- cmd: echo "installing requirements from %REQ%"
8080
- cmd: conda install -n pandas --file=%REQ%
81-
- cmd: conda install bzip2 # XXX: remove when fixed in defaults
8281
- cmd: conda list -n pandas
8382
- cmd: echo "installing requirements from %REQ% - done"
8483

pandas/tests/io/test_pytables.py

+4
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,10 @@ def test_complibs(self):
799799
# Remove lzo if its not available on this platform
800800
if not tables.which_lib_version('lzo'):
801801
all_complibs.remove('lzo')
802+
# Remove bzip2 if its not available on this platform
803+
if not tables.which_lib_version("bzip2"):
804+
all_complibs.remove("bzip2")
805+
802806
all_levels = range(0, 10)
803807
all_tests = [(lib, lvl) for lib in all_complibs for lvl in all_levels]
804808

0 commit comments

Comments
 (0)