Python · Debugging & Testing
In a doctest, how do you write the expected output for a call that raises an exception, without pasting the exact full traceback?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
