Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aarnphm/whispercpp
/ test_invalid_load_module
Function
test_invalid_load_module
tests/utils_test.py:14–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
13
14
def
test_invalid_load_module():
15
with
pytest.raises(ImportError):
16
print(dir(LazyLoader(
"invalid"
, globals(),
"invalid"
)))
17
del globals()[
"invalid"
]
18
19
20
def
test_lazy_warning(caplog: LogCaptureFixture):
Callers
nothing calls this directly
Calls
1
LazyLoader
Class · 0.90
Tested by
no test coverage detected