File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2828 pa_version_under10p1 ,
2929)
3030from pandas .compat .numpy import function as nv
31- from pandas .util ._decorators import doc
31+ from pandas .util ._decorators import (
32+ doc ,
33+ set_module ,
34+ )
3235from pandas .util ._exceptions import find_stack_level
3336
3437from pandas .core .dtypes .base import (
8689 from pandas import Series
8790
8891
92+ @set_module ("pandas" )
8993@register_extension_dtype
9094class StringDtype (StorageExtensionDtype ):
9195 """
Original file line number Diff line number Diff line change @@ -405,6 +405,7 @@ def test_set_module():
405405 assert pd .IntervalDtype .__module__ == "pandas"
406406 assert pd .SparseDtype .__module__ == "pandas"
407407 assert pd .ArrowDtype .__module__ == "pandas"
408+ assert pd .StringDtype .__module__ == "pandas"
408409 assert pd .Index .__module__ == "pandas"
409410 assert pd .CategoricalIndex .__module__ == "pandas"
410411 assert pd .DatetimeIndex .__module__ == "pandas"
You can’t perform that action at this time.
0 commit comments