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 28
28
LossySetitemError ,
29
29
)
30
30
from pandas .errors .cow import _chained_assignment_msg
31
- from pandas .util ._decorators import doc
31
+ from pandas .util ._decorators import (
32
+ doc ,
33
+ set_module ,
34
+ )
32
35
33
36
from pandas .core .dtypes .cast import (
34
37
can_hold_element ,
101
104
102
105
103
106
# the public IndexSlicerMaker
107
+ @set_module ("pandas" )
104
108
class _IndexSlice :
105
109
"""
106
110
Create an object to more easily perform multi-index slicing.
Original file line number Diff line number Diff line change @@ -529,5 +529,6 @@ def test_set_module():
529
529
assert pd .to_timedelta .__module__ == "pandas"
530
530
assert pd .to_numeric .__module__ == "pandas"
531
531
assert pd .NamedAgg .__module__ == "pandas"
532
+ assert pd .IndexSlice .__module__ == "pandas"
532
533
assert api .typing .SeriesGroupBy .__module__ == "pandas.api.typing"
533
534
assert api .typing .DataFrameGroupBy .__module__ == "pandas.api.typing"
You can’t perform that action at this time.
0 commit comments