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

Method create_file

Lib/test/test_shutil.py:2358–2360  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

2356 to_text_type = staticmethod(os.fsdecode)
2357
2358 def create_file(self, path):
2359 create_file(path)
2360 os.chmod(path, 0o755)
2361
2362 def assertNormEqual(self, actual, expected):
2363 self.assertEqual(os.path.normcase(actual), os.path.normcase(expected))

Calls 2

create_fileFunction · 0.70
chmodMethod · 0.45

Tested by

no test coverage detected