PyTest - Markers
Find the issue in this pytest code snippet:
import pytest
@pytest.mark.skip(reason=NotReady)
def test_func():
assert True
import pytest
@pytest.mark.skip(reason=NotReady)
def test_func():
assert True
"NotReady".NotReady is used without quotes, causing a NameError.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions