Skip to content

Commit

Permalink
Reuse fixture in numpy unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
int3l authored Aug 6, 2019
1 parent 0ed9c36 commit d6df088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pytesseract.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ def test_image_to_string_with_args_type(test_file):
numpy_installed is False,
reason='requires numpy'
)
def test_image_to_string_with_numpy_array():
def test_image_to_string_with_numpy_array(test_file):
assert 'The quick brown dog' in image_to_string(
np.array(Image.open(TEST_JPEG)),
np.array(Image.open(test_file)),
'eng'
)

Expand Down

0 comments on commit d6df088

Please sign in to comment.