Assertion Error: Custom Exception not raised
Assertion Error: Custom Exception not raised Question: I am trying to write unittests for a function I wrote that includes a try/except block. I have raised a custom exception if my string contains less than 3 characters. I wanted to test that the error gets raised when inputting a string less than 3 characters long. …