Home | History | Annotate | Download | only in python

Lines Matching full:__setitem__

427   def __setitem__(self, key, value):
436 __setitem__ method that has already been called if not in replay mode.
441 __setitem__.
444 setitem = self._class_to_mock.__dict__.get('__setitem__', None)
450 # If we are in replay mode then simply call the mock __setitem__ method.
452 return MockMethod('__setitem__', self._expected_calls_queue,
456 # Otherwise, create a mock method __setitem__.
457 return self._CreateMockMethod('__setitem__')(key, value)
472 __setitem__.