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

Method _PopNextMethod

deps/protobuf/python/mox.py:581–586  ·  view source on GitHub ↗

Pop the next method from our call queue.

(self)

Source from the content-addressed store, hash-verified

579 'Did you remember to put your mocks in replay mode?' % name)
580
581 def _PopNextMethod(self):
582 """Pop the next method from our call queue."""
583 try:
584 return self._call_queue.popleft()
585 except IndexError:
586 raise UnexpectedMethodCallError(self, None)
587
588 def _VerifyMethodCall(self):
589 """Verify the called method is expected.

Callers 2

_VerifyMethodCallMethod · 0.95
MethodCalledMethod · 0.80

Calls 1

Tested by

no test coverage detected