PyTest - Markers
Which of the following is the correct syntax to skip a test if Python version is less than 3.8?
@pytest.mark.skipif, not @pytest.skipif.sys.version_info tuple; comparison uses < (less than) and tuple format (3, 8).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions