MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_import

Method test_import

Lib/test/test_unittest/_test_warnings.py:32–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 warnings.warn('dw', DeprecationWarning)
31
32 def test_import(self):
33 warnings.warn('iw', ImportWarning)
34 warnings.warn('iw', ImportWarning)
35 warnings.warn('iw', ImportWarning)
36
37 # user warnings should always be printed
38 def test_warning(self):

Callers

nothing calls this directly

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected