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

Method showwarning

Lib/test/test_free_threading/test_races.py:299–300  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

297 warnings.filterwarnings('ignore', message='not matched', category=Warning, lineno=lineno)
298 # Override showwarning() so that we don't actually show warnings.
299 def showwarning(*args):
300 pass
301 warnings.showwarning = showwarning
302
303 def tearDown(self):

Callers 7

validateMethod · 0.80
test_warningsMethod · 0.80
test_showwarningMethod · 0.80
loadfileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected