File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
""" public toolkit API """
2
2
3
3
from pandas .core .dtypes .api import * # noqa
4
+ from pandas .core .dtypes .dtypes import (CategoricalDtype , # noqa
5
+ DatetimeTZDtype ,
6
+ PeriodDtype ,
7
+ IntervalDtype )
4
8
from pandas .core .dtypes .concat import union_categoricals # noqa
5
9
from pandas ._libs .lib import infer_dtype # noqa
6
10
del np # noqa
Original file line number Diff line number Diff line change @@ -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 ):
You can’t perform that action at this time.
0 commit comments