MCPcopy Create free account
hub / github.com/celery/celery / test_warn_deprecated

Method test_warn_deprecated

t/unit/utils/test_deprecated.py:66–68  ·  view source on GitHub ↗
(self, warn)

Source from the content-addressed store, hash-verified

64
65 @patch('warnings.warn')
66 def test_warn_deprecated(self, warn):
67 deprecated.warn('Foo')
68 warn.assert_called()

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected