我需要测试使用的功能datetime.datetime.now().最简单的方法是什么?
datetime.datetime.now()
python datetime mocking pytest
datetime ×1
mocking ×1
pytest ×1
python ×1