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

Method setUp

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

Source from the content-addressed store, hash-verified

84class TestCase(unittest.TestCase):
85
86 def setUp(self):
87 # The tests assume that line wrapping occurs at 80 columns, but this
88 # behaviour can be overridden by setting the COLUMNS environment
89 # variable. To ensure that this width is used, set COLUMNS to 80.
90 env = self.enterContext(os_helper.EnvironmentVarGuard())
91 env['COLUMNS'] = '80'
92
93
94@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