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

Method setUp

Lib/test/test_argparse.py:106–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

104class TestCase(unittest.TestCase):
105
106 def setUp(self):
107 # The tests assume that line wrapping occurs at 80 columns, but this
108 # behaviour can be overridden by setting the COLUMNS environment
109 # variable. To ensure that this width is used, set COLUMNS to 80.
110 env = self.enterContext(os_helper.EnvironmentVarGuard())
111 env['COLUMNS'] = '80'
112
113
114@os_helper.skip_unless_working_chmod

Callers 11

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 1

enterContextMethod · 0.95

Tested by

no test coverage detected