To skip all tests in a module, define a global pytestmark variable: # test_module.py pytestmark = pytest.mark.skipif(...) I'm not sure if it's deprecated, ...
確定! 回上一頁