File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -525,10 +525,7 @@ def get_pandas_objects(
525525 if name .startswith ("_" ) or name == "internals" :
526526 continue
527527 objs .extend (
528- get_pandas_objects (
529- f"{ module .__name__ } .{ name } " ,
530- recurse = module_info .ispkg ,
531- )
528+ get_pandas_objects (f"{ module .__name__ } .{ name } " , recurse = module_info .ispkg )
532529 )
533530 return objs
534531
@@ -551,10 +548,7 @@ def test_attributes_module(module_name):
551548 Ensures that all public objects have their __module__ set to the public import path.
552549 """
553550 recurse = module_name not in ["pandas" , "pandas.testing" ]
554- objs = get_pandas_objects (
555- module_name ,
556- recurse = recurse ,
557- )
551+ objs = get_pandas_objects (module_name , recurse = recurse )
558552 failures = [
559553 (module_name , name , type (obj ), obj .__module__ )
560554 for module_name , name , obj in objs
You can’t perform that action at this time.
0 commit comments