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

Method setUp

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

Source from the content-addressed store, hash-verified

1964 """Test the FileType option/argument type for writing files"""
1965
1966 def setUp(self):
1967 super().setUp()
1968 self.create_readonly_file('readonly')
1969 self.create_writable_file('writable')
1970
1971 argument_signatures = [
1972 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