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

Method registerFileForCleanUp

Lib/test/test_urllib.py:655–656  ·  view source on GitHub ↗
(self, fileName)

Source from the content-addressed store, hash-verified

653 return newFilePath
654
655 def registerFileForCleanUp(self, fileName):
656 self.tempFiles.append(fileName)
657
658 def test_basic(self):
659 # Make sure that a local file just gets its own location returned and

Callers 4

setUpMethod · 0.95
createNewTempFileMethod · 0.95
test_copyMethod · 0.95
test_reporthookMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected