Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Pytest 5.0.0 fixes
Browse files Browse the repository at this point in the history
because of this change pytest-dev/pytest#5412

Signed-off-by: Martin Bašti <mbasti@redhat.com>
  • Loading branch information
MartinBasti committed Jul 11, 2019
1 parent 41166cf commit f8db06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_koji_util.py
Expand Up @@ -172,7 +172,7 @@ def test_get_api_version_error(self, mocked_koji):
.and_raise(Exception(msg))
)

with pytest.raises(KojiError) as ke:
with pytest.raises(KojiError) as exc_info:
mocked_koji.get_api_version()

assert msg in str(ke)
assert msg in str(exc_info.value)

0 comments on commit f8db06f

Please sign in to comment.