Skip to content

Commit 739c4d2

Browse files
author
analyticalmonk
committed
TST: Added numpy.object_ dtype to valid pandas_dtype list
1 parent 08f3210 commit 739c4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/dtypes/test_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_invalid_dtype_error(self):
2222
with tm.assertRaisesRegexp(TypeError, msg):
2323
pandas_dtype(dtype)
2424

25-
valid_list = [object, 'float64',
25+
valid_list = [object, 'float64', np.object_,
2626
np.float64, float, np.dtype('float64')]
2727
for dtype in valid_list:
2828
pandas_dtype(dtype)

0 commit comments

Comments
 (0)