Python · Debugging & Testing
You want to assert that calling `fac(-1)` raises `ValueError`. What does this do, and why is it the wrong way? ``` self.assertRaises(ValueError, fac(-1)) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
