Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed May 30, 2017
1 parent 469a0e6 commit 8429f9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/tests/io/formats/test_to_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,7 @@ def test_to_html_notebook_has_no_style(self):
assert "thead tr:only-child" not in result

def test_to_html_with_index_names_false(self):
df = pd.DataFrame({"A": [1, 2]}, index=pd.Index(['a', 'b'], name='myindexname'))
df = pd.DataFrame({"A": [1, 2]}, index=pd.Index(['a', 'b'],
name='myindexname'))
result = df.to_html(index_names=False)
assert 'myindexname' not in result

0 comments on commit 8429f9a

Please sign in to comment.