MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

Lib/test/test_global.py:23–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21class GlobalTests(unittest.TestCase):
22
23 def setUp(self):
24 self.enterContext(check_warnings())
25 warnings.filterwarnings("error", module="<test string>")
26
27 ######################################################
28 ### Syntax error cases as covered in Python/symtable.c

Callers

nothing calls this directly

Calls 2

check_warningsFunction · 0.90
enterContextMethod · 0.80

Tested by

no test coverage detected