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

Method run

test/utils_spec_runner.py:48–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.cond.notify()
47
48 def run(self):
49 while not self.stopped or self.ops:
50 if not self.ops:
51 with self.cond:
52 _cond_wait(self.cond, 10)
53 if self.ops:
54 try:
55 work = self.ops.pop(0)
56 work()
57 except Exception as exc:
58 self.exc = exc
59 self.stop()
60
61
62class SpecTestCreator:

Callers 1

create_testsMethod · 0.45

Calls 3

stopMethod · 0.95
_cond_waitFunction · 0.90
popMethod · 0.45

Tested by

no test coverage detected