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

Method setUp

Lib/test/test_optparse.py:199–200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

197
198class TestOptionChecks(BaseTest):
199 def setUp(self):
200 self.parser = OptionParser(usage=SUPPRESS_USAGE)
201
202 def assertOptionError(self, expected_message, args=[], kwargs={}):
203 self.assertRaises(make_option, args, kwargs,

Callers

nothing calls this directly

Calls 1

OptionParserClass · 0.90

Tested by

no test coverage detected