MCPcopy 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

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

Calls

no outgoing calls

Tested by

no test coverage detected