File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11""" public toolkit API """
22
33from pandas .core .dtypes .api import * # noqa
4+ from pandas .core .dtypes .dtypes import (CategoricalDtype , # noqa
5+ DatetimeTZDtype ,
6+ PeriodDtype ,
7+ IntervalDtype )
48from pandas .core .dtypes .concat import union_categoricals # noqa
59from pandas ._libs .lib import infer_dtype # noqa
610del np # noqa
Original file line number Diff line number Diff line change @@ -33,10 +33,12 @@ class TestTypes(Base, tm.TestCase):
3333 'is_list_like' , 'is_hashable' ,
3434 'is_named_tuple' , 'is_sequence' ,
3535 'pandas_dtype' , 'union_categoricals' , 'infer_dtype' ]
36+ dtypes = ['CategoricalDtype' , 'DatetimeTZDtype' ,
37+ 'PeriodDtype' , 'IntervalDtype' ]
3638
3739 def test_types (self ):
3840
39- self .check (types , self .allowed )
41+ self .check (types , self .allowed + self . dtypes )
4042
4143 def check_deprecation (self , fold , fnew ):
4244 with tm .assert_produces_warning (DeprecationWarning ):
You can’t perform that action at this time.
0 commit comments