Skip to content

Commit 63d73d9

Browse files
committed
TST: skip if no bs4 for some html tests
1 parent b36dab5 commit 63d73d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/io/test_html.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,7 @@ def test_importcheck_thread_safety():
973973
def test_parse_failure_unseekable():
974974
# Issue #17975
975975
_skip_if_no('lxml')
976+
_skip_if_no('bs4')
976977

977978
class UnseekableStringIO(StringIO):
978979
def seekable(self):
@@ -996,6 +997,7 @@ def seekable(self):
996997
def test_parse_failure_rewinds():
997998
# Issue #17975
998999
_skip_if_no('lxml')
1000+
_skip_if_no('bs4')
9991001

10001002
class MockFile(object):
10011003
def __init__(self, data):

0 commit comments

Comments
 (0)