[资源介绍]
unittest.mock — mock object library — Python 3.14.2 documentation
Source code: Lib/unittest/mock.py unittest.mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they hav...
- mock - (Python 标准库)一个模拟和修补库。