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

Method create_file_entry

Lib/test/test_os.py:5199–5201  ·  view source on GitHub ↗
(self, name='file.txt')

Source from the content-addressed store, hash-verified

5197 return entry
5198
5199 def create_file_entry(self, name='file.txt'):
5200 filename = self.create_file(name=name)
5201 return self.get_entry(os.path.basename(filename))
5202
5203 def test_current_directory(self):
5204 filename = self.create_file()

Callers 4

test_reprMethod · 0.95
test_fspath_protocolMethod · 0.95
test_removed_fileMethod · 0.95

Calls 3

create_fileMethod · 0.95
get_entryMethod · 0.95
basenameMethod · 0.80

Tested by

no test coverage detected