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

Method create_file_entry

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

Source from the content-addressed store, hash-verified

4921 return entry
4922
4923 def create_file_entry(self, name='file.txt'):
4924 filename = self.create_file(name=name)
4925 return self.get_entry(os.path.basename(filename))
4926
4927 def test_current_directory(self):
4928 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.45

Tested by

no test coverage detected