MCPcopy Create free account
hub / github.com/OSGeo/PROJ / cleanup

Method cleanup

test/cli/run_cli_test.py:581–587  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

579 return TestResult(stdout, stderr, proc.returncode, expected=self)
580
581 def cleanup(self):
582 if self._prepared:
583 for file in getattr(self, "file", []):
584 file.cleanup()
585 if getattr(self, "tmpdir", None) is not None:
586 self.tmpdir.cleanup()
587 self._prepared = False
588
589 def __del__(self):
590 if hasattr(self, "cleanup"):

Callers 3

__del__Method · 0.95
test_test_tmpdirFunction · 0.95
test_test_fileFunction · 0.95

Calls 1

cleanupMethod · 0.45

Tested by

no test coverage detected