MCPcopy
hub / github.com/celery/celery / fun

Function fun

t/unit/utils/test_utils.py:18–19  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

16def test_cached_property():
17
18 def fun(obj):
19 return fun.value
20
21 x = cached_property(fun)
22 assert x.__get__(None) is x

Callers 15

test_listMethod · 0.85
test_classmethodMethod · 0.85
test_backendsMethod · 0.85
test_reduceMethod · 0.85
_innerMethod · 0.85
test_reduceMethod · 0.85
test_pickleMethod · 0.85
test_reduce_directMethod · 0.85
test_reduce_directMethod · 0.85
test_reduceMethod · 0.85
test_reduce_directMethod · 0.85
test_reduce_restoreMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected