Skip to content

Commit

Permalink
Don't track coverage in the generated roundtrip test conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Aug 3, 2024
1 parent 442f316 commit 5452169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_round_trip.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_round_trip_encoding(numbers, min_length, alphabet):
assert sqid_1.decode(id_1) == numbers

# If the ID is long enough, use it as a blocklist word and ensure it is blocked.
if len(id_1) >= 3:
if len(id_1) >= 3: # pragma: nocover
sqid_2 = sqids.Sqids(min_length=min_length, alphabet=alphabet, blocklist=[id_1])
id_2 = sqid_2.encode(numbers)
assert id_1 != id_2
Expand Down

0 comments on commit 5452169

Please sign in to comment.