| @@ -33,10 +33,12 @@ class TestTypes(Base, tm.TestCase): |
|
|
| 33 |
33 |
'is_list_like', 'is_hashable', |
| 34 |
34 |
'is_named_tuple', 'is_sequence', |
| 35 |
35 |
'pandas_dtype', 'union_categoricals', 'infer_dtype'] |
|
36 |
+dtypes = ['CategoricalDtype', 'DatetimeTZDtype', |
|
37 |
+'PeriodDtype', 'IntervalDtype'] |
| 36 |
38 |
|
| 37 |
39 |
def test_types(self): |
| 38 |
40 |
|
| 39 |
|
-self.check(types, self.allowed) |
|
41 |
+self.check(types, self.allowed + self.dtypes) |
| 40 |
42 |
|
| 41 |
43 |
def check_deprecation(self, fold, fnew): |
| 42 |
44 |
with tm.assert_produces_warning(DeprecationWarning): |