Let\'s say I have a bunch of tests:
def test_func_one(): ... def test_func_two(): ... def test_func_three(): ...
Is there a dec
I'm not sure if it's deprecated, but you can also use the pytest.skip function inside of a test:
pytest.skip
def test_valid_counting_number(): number = random.randint(1,5) if number == 5: pytest.skip('Five is right out') assert number <= 3