MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / remove

Method remove

test/asynchronous/test_ssl.py:651–655  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

649 @ignore_deprecations
650 async def test_connect_with_ca_bundle(self):
651 def remove(path):
652 try:
653 os.remove(path)
654 except OSError:
655 pass
656
657 temp_ca_bundle = os.path.join(CERT_PATH, "trusted-ca-bundle.pem")
658 self.addCleanup(remove, temp_ca_bundle)

Callers 5

gc_collect_until_doneFunction · 0.45
test_removalMethod · 0.45
test_replace_oneMethod · 0.45
revive_hostMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected