Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ func
Function
func
tests/test_config.py:210–211 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
208
def
test_callable_validation():
209
c = config.Config()
210
def
func(a, b):
211
pass
212
c.set(
"pre_fork"
, func)
213
assert c.pre_fork == func
214
pytest.raises(TypeError, c.set,
"pre_fork"
, 1)
Callers
4
_waitfor
Function · 0.85
szread
Method · 0.85
wrapper
Function · 0.85
run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected