tests: Fix failure with newer pytest

This is with latest packages on Fedora 33, I didn't investigate deeper

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-08-18 14:32:41 -04:00
parent 20c2f633d0
commit a121c943ef

View File

@ -135,5 +135,5 @@ def test_misc():
with pytest.raises(ValueError) as e:
_test("empty")
assert "installable distribution" in str(e)
assert "mistyped" in str(e)
assert "installable distribution" in str(e.value)
assert "mistyped" in str(e.value)