Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion extra_tests/not_impl_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ def dir_of_mod_or_error(module_name):
result = {}
for item_name in item_names:
item = getattr(module, item_name)
result[item_name] = extra_info(item)
item_mod = inspect.getmodule(item)
# don't repeat items imported from other modules
if item_mod is module or item_mod is None:
result[item_name] = extra_info(item)
return result


Expand Down