Skip to content

Commit

Permalink
TST: init df attributes ._is_consolidated, ._known_consolidated after…
Browse files Browse the repository at this point in the history
… un-pickle #2431
  • Loading branch information
y-p committed Dec 5, 2012
1 parent 9e95ce2 commit 8520df7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pandas/tests/test_internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@ def test_pickle(self):
# share ref_items
self.assert_(mgr2.blocks[0].ref_items is mgr2.blocks[1].ref_items)

# GH2431
self.assertTrue(hasattr(mgr2,"_is_consolidated"))
self.assertTrue(hasattr(mgr2,"_known_consolidated"))

# reset to False on load
self.assertFalse(mgr2._is_consolidated)
self.assertFalse(mgr2._known_consolidated)

def test_get(self):
pass

Expand Down

0 comments on commit 8520df7

Please sign in to comment.