Closed dandavison closed 2 months ago
pytest.raises() scope should be limited to the statement that raises only.
pytest.raises()
This PR fixes a couple of bugs (mine) in test assertions and improves style in others that were not incorrect (other peoples').
pytest.raises()
scope should be limited to the statement that raises only.This PR fixes a couple of bugs (mine) in test assertions and improves style in others that were not incorrect (other peoples').