Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ _sanitize_message
Function
_sanitize_message
tests/conftest.py:193–196 ·
view source on GitHub ↗
(thing)
Source
from the content-addressed store, hash-verified
191
192
193
def
_sanitize_message(thing):
194
s = str(thing)
195
s = _sanitize_general(s)
196
return
_hexadecimal.sub(
"0"
, s)
197
198
199
@pytest.fixture
Callers
nothing calls this directly
Calls
2
str
Class · 0.85
_sanitize_general
Function · 0.85
Tested by
no test coverage detected