Skip to content

Commit

Permalink
TST: fix tests xref pandas-dev#13554 (pandas-dev#16054)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback authored Apr 19, 2017
1 parent 0b22b8d commit 00063d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pandas/tests/test_categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -3043,9 +3043,10 @@ def test_pivot_table(self):
[Categorical(["a", "b", "z"], ordered=True),
Categorical(["c", "d", "y"], ordered=True)],
names=['A', 'B'])
expected = Series([1, 2, np.nan, 3, 4, np.nan, np.nan, np.nan, np.nan],
index=exp_index, name='values')
tm.assert_series_equal(result, expected)
expected = DataFrame(
{'values': [1, 2, np.nan, 3, 4, np.nan, np.nan, np.nan, np.nan]},
index=exp_index)
tm.assert_frame_equal(result, expected)

def test_count(self):

Expand Down

0 comments on commit 00063d2

Please sign in to comment.