Skip to content

Commit

Permalink
Improve comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
sosna committed Aug 5, 2024
1 parent 5993b1e commit 75bbdaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/qb/util/test_check_multiple_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

def test_multiple_items():
for v in ApiVersion:
if v.value.number < ApiVersion.V1_3_0.value.number:
if v < ApiVersion.V1_3_0:
with pytest.raises(ClientError):
check_multiple_items(["A", "B"], v)

0 comments on commit 75bbdaa

Please sign in to comment.