From c6b36e389c00983a39e51668a71900fd43b6986a Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Wed, 17 Jul 2013 09:34:13 -0400 Subject: [PATCH] TST: properly skip html5lib --- pandas/io/tests/test_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/tests/test_html.py b/pandas/io/tests/test_html.py index 2be8d15e3f960..a83d85b89846e 100644 --- a/pandas/io/tests/test_html.py +++ b/pandas/io/tests/test_html.py @@ -50,7 +50,7 @@ def _skip_if_none_of(module_names): else: not_found = [module_name for module_name in module_names if not _have_module(module_name)] - if not_found == module_names: + if set(not_found) & set(module_names): raise nose.SkipTest("{0} not found".format(not_found)) if 'bs4' in module_names: import bs4