There was an error while loading. Please reload this page.
1 parent cd9354f commit 215c2aaCopy full SHA for 215c2aa
pandas/tests/io/test_packers.py
@@ -123,10 +123,10 @@ def test_string_io(self):
123
result = read_msgpack(s)
124
tm.assert_frame_equal(result, df)
125
126
- df2 = df.astype({0:'category'}).set_index(0)
127
- s = to_msgpack(None, df)
+ df2 = df.astype({0: 'category'}).set_index(0)
+ s = to_msgpack(None, df2)
128
129
- tm.assert_frame_equal(result, df)
+ tm.assert_frame_equal(result, df2)
130
131
with ensure_clean(self.path) as p:
132
0 commit comments