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

Method setUp

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

Source from the content-addressed store, hash-verified

2063 """Test the FileType option/argument type for writing files"""
2064
2065 def setUp(self):
2066 super().setUp()
2067 self.create_readonly_file('readonly')
2068 self.create_writable_file('writable')
2069
2070 argument_signatures = [
2071 Sig('-x', type=FileType('w')),

Callers

nothing calls this directly

Calls 4

superClass · 0.85
create_readonly_fileMethod · 0.80
create_writable_fileMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected