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

Method target

test/test_fork.py:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 with self.client._lock:
45
46 def target():
47 with warnings.catch_warnings():
48 warnings.simplefilter("ignore")
49 self.client.admin.command("ping")
50
51 with self.fork(target):
52 pass

Callers 1

runMethod · 0.45

Calls 3

ObjectIdClass · 0.90
lockedMethod · 0.80
commandMethod · 0.45

Tested by

no test coverage detected