Hi,
I am setting python 3 tests and am trying to get my students to raise a specific exception in response to incorrect user input. For example:
raise Exception("The value must be greater than 0")
Unfortunately, even though the output generated by running code matches the expected output exactly, it is seen as an error, and thus not marked.
Any idea on what I should do to accept a specific exception as the correct answer?
Example of problem screenshot: