From 79f63b9e819ca2cd3696274d9b654ed21e3c9fd3 Mon Sep 17 00:00:00 2001 From: Jay Kamat Date: Sat, 13 Oct 2018 08:55:55 -0700 Subject: [PATCH] Fix line length warning in hint scatter test --- tests/unit/browser/test_hints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)