Skip to content

Commit

Permalink
Fix variable typo in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
int3l committed Sep 7, 2020
1 parent cae52bb commit 435782a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pytesseract_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def test_image_to_data_common_output(test_file_small, output):
assert isinstance(result, bytes)

elif output is Output.DICT:
confidence_values = expected_dict_result.pop('conf', None)
confidence_values = result.pop('conf', None)
assert confidence_values is not None
assert 0 <= confidence_values[-1] <= 100
assert result == expected_dict_result
Expand Down

0 comments on commit 435782a

Please sign in to comment.