Skip to content
Closed
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions build_config/tests/test___init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def test_draw_heatmap_package_imports():
"""Regression test for misspelled submodule import in draw_heatmap.__init__."""
import accvlab.draw_heatmap

assert hasattr(accvlab.draw_heatmap, "draw_heatmap")
assert hasattr(accvlab.draw_heatmap, "draw_heatmap_batched")
assert "draw_heatmap" in accvlab.draw_heatmap.__all__
assert "draw_heatmap_batched" in accvlab.draw_heatmap.__all__
2 changes: 1 addition & 1 deletion packages/draw_heatmap/accvlab/draw_heatmap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
except PackageNotFoundError:
__version__ = "0.0.0"

from .funtions import draw_heatmap, draw_heatmap_batched
from .functions import draw_heatmap, draw_heatmap_batched

__all__ = ["__version__", "draw_heatmap", "draw_heatmap_batched"]