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

Method setUp

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

Source from the content-addressed store, hash-verified

1987 """Test the FileType option/argument type for writing new files only"""
1988
1989 def setUp(self):
1990 super().setUp()
1991 self.create_readonly_file('readonly')
1992 self.create_writable_file('writable')
1993
1994 argument_signatures = [
1995 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