6 lines
119 B
Python
Raw Normal View History

import pytest
def xfail_param(param, reason):
return pytest.param(param, marks=pytest.mark.xfail(reason=reason))