Skip to content

Commit

Permalink
Added test for mixed Series with numpy bool
Browse files Browse the repository at this point in the history
  • Loading branch information
PhyNerd committed Nov 22, 2017
1 parent e0d3c06 commit e82439a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas/tests/io/test_packers.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def setup_method(self, method):
'G': [Timestamp('20130102', tz='US/Eastern')] * 5,
'H': Categorical([1, 2, 3, 4, 5]),
'I': Categorical([1, 2, 3, 4, 5], ordered=True),
'J': (np.bool_(1), 2, 3, 4, 5),
}

self.d['float'] = Series(data['A'])
Expand All @@ -419,6 +420,7 @@ def setup_method(self, method):
self.d['dt_tz'] = Series(data['G'])
self.d['cat_ordered'] = Series(data['H'])
self.d['cat_unordered'] = Series(data['I'])
self.d['numpy_bool_mixed'] = Series(data['J'])

def test_basic(self):

Expand Down

0 comments on commit e82439a

Please sign in to comment.