replace unittest.skipIf with pytest.mark.skipif