官方实例 # content of test_xfail.pyimport pytestimport sys@pytest.mark.xfaildef test_function():print("test_function was invoked.")def valid_config():return Falsedef test_function_02():if not valid_co
官方实例 # content of test_xfail.pyimport pytestimport sys@pytest.mark.xfaildef test_function():print("test_function was invoked.")def valid_config():return Falsedef test_function_02():if not valid_co