import pytest # 调用方式一:将fixture名称作为测试用例函数的输入 ... assert f3 == 123 @pytest.fixture def f3(): order.append("f3") a = 123 yield a ...
確定! 回上一頁