PyTest - Writing Assertions
What is the primary function of using
pytest.raises in a test case?pytest.raises in a test case?pytest.raises is used to assert that a particular exception is raised during the execution of a block of code.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions