HardScenarioTesting and quality
How would you test that an exception is raised with the right message?
This answer is part of Pro
14 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow do you test a function that writes to a file?Next What is pip and what does pip freeze show?