Modify the `try` `except` to use the pytest `with pytest.raises(AssertionError):` syntax. https://github.com/viperior/python-project-template/blob/8f84b0823820732951c3edcb01d30a74121da7cd/games_of_chance/tests/test_flip_coins_function.py#L31 ## References - [Example of pytest error handling syntax](https://github.com/viperior/aequus/blob/8ee2296f90067cdf6c2ac5fdc4c6344d53320e81/calc/tests/test_class_recipecomponent.py#L10)