diff --git a/pandas/tests/dtypes/test_cast.py b/pandas/tests/dtypes/test_cast.py index 590f28b275aec..20cd8b43478d2 100644 --- a/pandas/tests/dtypes/test_cast.py +++ b/pandas/tests/dtypes/test_cast.py @@ -191,9 +191,9 @@ def testinfer_dtype_from_scalar_errors(self): (pd.Categorical(list('aabc')), 'category', True), (pd.Categorical([1, 2, 3]), 'category', True), (Timestamp('20160101'), np.object_, False), - (np.datetime64('2016-01-01'), np.dtype('