Skip to content

Commit 40525a1

Browse files
committed
ignore pandas importerror in tests
1 parent cd4edb4 commit 40525a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sugar/tests/test_io.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ def test_detect_fts():
3232

3333
def test_read_fts():
3434
for fname in FNAMES_FTS:
35-
fts = read_fts(fname)
35+
try:
36+
fts = read_fts(fname)
37+
except ImportError: # ignore pandas ImportError for csv and tsv
38+
continue
3639
assert isinstance(fts, sugar.FeatureList)
3740
assert len(fts) > 0
3841

0 commit comments

Comments
 (0)