diff --git a/tests/unit/browser/test_hints.py b/tests/unit/browser/test_hints.py index 4663aefd6..c89d11e92 100644 --- a/tests/unit/browser/test_hints.py +++ b/tests/unit/browser/test_hints.py @@ -88,4 +88,5 @@ def test_scattered_hints_count(win_registry, mode_manager, min_len, assert num_chars ** (longest_hint_len - 1) < num_elements if shortest_hint_len == longest_hint_len: # Check that we really couldn't use any short links - assert (num_chars ** longest_hint_len) - num_elements < len(chars) - 1 + assert ((num_chars ** longest_hint_len) - num_elements < + len(chars) - 1)