pytest 框架中setup、teardown和setup_class、teardown_class · import pytest · class TestFunc: · def setup(self): # 每个测试函数运行前执行一次 · print(" ...
確定! 回上一頁