Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ test_when_default
Method
test_when_default
t/unit/utils/test_local.py:15–17 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
13
assert try_import(__name__)
14
15
def
test_when_default(self):
16
default = object()
17
assert try_import(
'foobar.awqewqe.asdwqewq'
, default) is default
18
19
20
class
test_Proxy:
Callers
nothing calls this directly
Calls
1
try_import
Function · 0.90
Tested by
no test coverage detected