Problem Description
Does anyone know whether there is an `assert` or something like that which can test whether an exception was thrown in the code being tested?
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?