Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
TST: Catch read_html slow test warning (#17874)
Follow up to gh-17872.

xref gh-17870, gh-17865.
  • Loading branch information
gfyoung committed Oct 15, 2017
1 parent 528fdaa commit aed9b92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pandas/tests/io/test_html.py
Expand Up @@ -335,8 +335,10 @@ def test_multiindex_header_index(self):

@pytest.mark.slow
def test_multiindex_header_skiprows_tuples(self):
df = self._bank_data(header=[0, 1], skiprows=1, tupleize_cols=True)[0]
assert isinstance(df.columns, Index)
with tm.assert_produces_warning(FutureWarning, check_stacklevel=False):
df = self._bank_data(header=[0, 1], skiprows=1,
tupleize_cols=True)[0]
assert isinstance(df.columns, Index)

@pytest.mark.slow
def test_multiindex_header_skiprows(self):
Expand Down

0 comments on commit aed9b92

Please sign in to comment.