This PR fixes several cases in the tests in which assertions were made inside pytest.raises blocks but were never checked. This is because the assertions were made at a point in the test that was not executed due to the expected exception being raised. De-denting the assertions to be outside the pytest.raises block solved the problem.
This PR fixes several cases in the tests in which assertions were made inside
pytest.raises
blocks but were never checked. This is because the assertions were made at a point in the test that was not executed due to the expected exception being raised. De-denting the assertions to be outside thepytest.raises
block solved the problem.Thanks to @mrakitin for finding these errors!