MCPcopy
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

208def 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

_waitforFunction · 0.85
szreadMethod · 0.85
wrapperFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected