Skip to content

Commit e82439a

Browse files
committed
Added test for mixed Series with numpy bool
1 parent e0d3c06 commit e82439a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/io/test_packers.py

+2
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ def setup_method(self, method):
410410
'G': [Timestamp('20130102', tz='US/Eastern')] * 5,
411411
'H': Categorical([1, 2, 3, 4, 5]),
412412
'I': Categorical([1, 2, 3, 4, 5], ordered=True),
413+
'J': (np.bool_(1), 2, 3, 4, 5),
413414
}
414415

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

423425
def test_basic(self):
424426

0 commit comments

Comments
 (0)