Skip to content

Commit 894c87a

Browse files
committed
Fix a small linting error on Python2.7:
``` flake8 basest tests setup.py stress_test.py stress_test.py:34:29: F812 list comprehension redefines '_' from line 21 make: *** [lint] Error 1 ```
1 parent 31153af commit 894c87a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stress_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ def test_partial_input_with_larger_input_bases():
1818
# only continue if output base is not larger than input base
1919
if not (output_base > input_base):
2020
# get an encoding ratio to use
21-
_, ratio = best_ratio(
21+
ratio = best_ratio(
2222
input_base,
2323
[output_base],
2424
range(1, 10 + 1)
25-
)
25+
)[1]
2626
# explore the whole input window
2727
for input_window in range(1, ratio[0] + 1):
2828
'''

0 commit comments

Comments
 (0)