Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DeepLabCut/DeepLabCut
/ add
Function
add
tests/utils/test_deprecation.py:69–70 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
67
def
test_deprecated_preserves_return_value_and_args():
68
@deprecated()
69
def
add(a, b):
70
return
a + b
71
72
with
pytest.warns(DLCDeprecationWarning):
73
assert add(2, 3) == 5
Callers
1
test_deprecated_preserves_return_value_and_args
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected