From 6931e91391ee45c7c1aa7198768d4142ca035136 Mon Sep 17 00:00:00 2001 From: Mathew Sir Guest the best Date: Sat, 30 May 2026 23:36:52 -0600 Subject: [PATCH] test: guard import smoke test against vacuous pass on empty walk Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/test_imports.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_imports.py b/tests/test_imports.py index 7e5914c..683e724 100644 --- a/tests/test_imports.py +++ b/tests/test_imports.py @@ -23,6 +23,8 @@ def test_all_submodules_import(): ) ] + assert module_names, "walk_packages found no submodules - check smileyface.__path__" + for name in module_names: try: importlib.import_module(name)