Skip to content

Commit 4c10ebf

Browse files
committed
Merge pull request pandas-dev#4276 from cpcloud/html5lib-skip-fix
TST: properly skip html5lib
2 parents d070a1f + c6b36e3 commit 4c10ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/tests/test_html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _skip_if_none_of(module_names):
5050
else:
5151
not_found = [module_name for module_name in module_names if not
5252
_have_module(module_name)]
53-
if not_found == module_names:
53+
if set(not_found) & set(module_names):
5454
raise nose.SkipTest("{0} not found".format(not_found))
5555
if 'bs4' in module_names:
5656
import bs4

0 commit comments

Comments
 (0)