How do you test that a Python function throws an exception? How do you test that a Python function throws an exception? python python