Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitsandbytes-foundation/bitsandbytes
/ caplog_at_level
Function
caplog_at_level
tests/test_modules.py:14–16 ·
view source on GitHub ↗
(caplog, level, logger_name)
Source
from the content-addressed store, hash-verified
12
13
@contextlib.contextmanager
14
def
caplog_at_level(caplog, level, logger_name):
15
with
caplog.at_level(level, logger=logger_name):
16
yield
17
18
19
class
MockArgs:
Callers
2
test_4bit_linear_warnings
Function · 0.85
test_4bit_embedding_warnings
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected