pytest 允许您使用标准的python assert 用于验证Python测试中的期望和值。例如,您可以编写以下内容:. # content of test_assert1.py def f(): return 3 def ...
確定! 回上一頁