MCPcopy Create free account
hub / github.com/apple/coremltools / _remove_path

Method _remove_path

coremltools/test/api/test_api_examples.py:794–798  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

792
793 @staticmethod
794 def _remove_path(path):
795 if os.path.isdir(path):
796 shutil.rmtree(path)
797 else:
798 os.remove(path)
799
800 @pytest.mark.skipif(
801 ct.utils._macos_version() < (15, 0),

Callers 1

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected