pytest-mock provided value while we migrated from Python 2 to Python 3, but it's become less relevant now that the unittest.mock is included in the standard library. We also don't use any of its extra features like Spys or Stubs.
This replaces it with unittest.mock and removes the dependency from the requirements files.
pytest-mock
provided value while we migrated from Python 2 to Python 3, but it's become less relevant now that theunittest.mock
is included in the standard library. We also don't use any of its extra features likeSpy
s orStub
s.This replaces it with
unittest.mock
and removes the dependency from the requirements files.