File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 28
28
pa_version_under10p1 ,
29
29
)
30
30
from 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
+ )
32
35
from pandas .util ._exceptions import find_stack_level
33
36
34
37
from pandas .core .dtypes .base import (
86
89
from pandas import Series
87
90
88
91
92
+ @set_module ("pandas" )
89
93
@register_extension_dtype
90
94
class StringDtype (StorageExtensionDtype ):
91
95
"""
Original file line number Diff line number Diff line change @@ -405,6 +405,7 @@ def test_set_module():
405
405
assert pd .IntervalDtype .__module__ == "pandas"
406
406
assert pd .SparseDtype .__module__ == "pandas"
407
407
assert pd .ArrowDtype .__module__ == "pandas"
408
+ assert pd .StringDtype .__module__ == "pandas"
408
409
assert pd .Index .__module__ == "pandas"
409
410
assert pd .CategoricalIndex .__module__ == "pandas"
410
411
assert pd .DatetimeIndex .__module__ == "pandas"
You can’t perform that action at this time.
0 commit comments