Skip to content

Commit

Permalink
Use numpy module len() value reported on CI machines
Browse files Browse the repository at this point in the history
  • Loading branch information
myxie committed Nov 13, 2024
1 parent d09dfc8 commit ebcb255
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion dlg_paletteGen/module_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ def module_hook(mod_name: str, modules: dict = {}, recursive: bool = True) -> tu
# Need to check this again:
# traverse = True if len(modules) == 0 else False
mod = import_using_name(mod_name, traverse=True)
print(f"{mod=}")
m_name = get_mod_name(mod)
if mod is not None and mod_name != m_name:
member = mod_name.split(".")[-1]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,4 +650,4 @@ def test_full_numpy():
for members in modules.values():
for node in members.values():
nodes.append(node)
assert len(modules) == 957
assert len(modules) == 954

0 comments on commit ebcb255

Please sign in to comment.