Skip to content

Commit

Permalink
Make flake8-bugbear happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kpinc committed Apr 12, 2024
1 parent 9bffa14 commit b8eb8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_get_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_no_defaults_passed(self):
assert result.global_conf["default_b"] == "override_b"
assert result.loader == self.loader

with pytest.raises(Exception):
with pytest.raises(Exception, match="default_c"):
self.loader.get_settings("section2")

def test_defaults_passed(self):
Expand Down

0 comments on commit b8eb8bf

Please sign in to comment.