O'Reilly logo
  • Chris Kang thinks this is interesting:

 @pytest.mark.skipif(tasks.__version__ < ​'0.2.0'​,​  reason=​'not supported until version 0.2.0'​)

From

Cover of Python Testing with pytest

Note

skip test case with condition.