def test_to_int_index(self): index = IntIndex(10, [2, 3, 4, 5, 6]) self.assert_(index.to_int_index() is index)
def test_to_int_index(self): index = IntIndex(10, [2, 3, 4, 5, 6]) self.assertIs(index.to_int_index(), index)