这些装饰器可以应用于方法,函数或类。 要跳过模块中的所有测试,请定义一个全局 pytestmark 变量: # test_module.py pytestmark = pytest.mark.skipif(...).
確定! 回上一頁