Supplemental activity for Exception Handling roundtable
Fork and clone this repository.
Review the following:
- The
claim_unreserved_code_school_namefunction inschool_name.py - The working tests in
tests/test_school_name_with_pytest_raises.py - The
test_invalid_name_no_pytesttest intests/test_school_name_no_pytest_raises.py
Implement the body of test_invalid_name_no_pytest.
DO NOT use pytest.raises or any other functionality from pytest. The challenge is to think through what pytest.raises is actually doing and to appreciate that we don't usually have to do it ourselves!