Skip to content

Commit

Permalink
TST: Catch read_html slow test warning (pandas-dev#17874)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyoung authored and No-Stream committed Nov 28, 2017
1 parent fcf3792 commit 2cdf0e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pandas/tests/io/test_html.py
Original file line number Diff line number Diff line change
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 2cdf0e6

Please sign in to comment.