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

Method setUp

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

Source from the content-addressed store, hash-verified

2086 """Test the FileType option/argument type for writing new files only"""
2087
2088 def setUp(self):
2089 super().setUp()
2090 self.create_readonly_file('readonly')
2091 self.create_writable_file('writable')
2092
2093 argument_signatures = [
2094 Sig('-x', type=FileType('x')),

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