fix: correct exception type on repository id comparison

This commit is contained in:
2026-01-14 13:58:11 +02:00
parent 49cf91ea52
commit 00c4f32294
2 changed files with 3 additions and 3 deletions

View File

@ -64,9 +64,9 @@ def test_lt() -> None:
def test_lt_invalid() -> None:
"""
must raise ValueError if other is not valid repository id
must raise TypeError if other is not valid repository id
"""
with pytest.raises(ValueError):
with pytest.raises(TypeError):
assert RepositoryId("x86_64", "a") < 42