Skip to content

Commit

Permalink
improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abast committed Feb 23, 2017
1 parent cd9354f commit 215c2aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/tests/io/test_packers.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ def test_string_io(self):
result = read_msgpack(s)
tm.assert_frame_equal(result, df)

df2 = df.astype({0:'category'}).set_index(0)
s = to_msgpack(None, df)
df2 = df.astype({0: 'category'}).set_index(0)
s = to_msgpack(None, df2)
result = read_msgpack(s)
tm.assert_frame_equal(result, df)
tm.assert_frame_equal(result, df2)

with ensure_clean(self.path) as p:

Expand Down

0 comments on commit 215c2aa

Please sign in to comment.