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

Method setUp

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

Source from the content-addressed store, hash-verified

4132 but we don't want any exceptions thrown in such cases. Only ugly representation.
4133 '''
4134 def setUp(self):
4135 env = self.enterContext(os_helper.EnvironmentVarGuard())
4136 env.set("COLUMNS", '15')
4137
4138 parser_signature = TestHelpBiggerOptionals.parser_signature
4139 argument_signatures = TestHelpBiggerOptionals.argument_signatures

Callers

nothing calls this directly

Calls 2

enterContextMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected