MCPcopy Create free account
hub / github.com/python/cpython / c

Method c

Lib/test/test_warnings/__init__.py:2125–2126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2123 def test_category(self):
2124 @deprecated("c will go away soon", category=RuntimeWarning)
2125 def c():
2126 pass
2127
2128 with self.assertWarnsRegex(RuntimeWarning, "c will go away soon"):
2129 c()

Callers 1

test_mock_callsMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_mock_callsMethod · 0.36