Skip to content

Commit

Permalink
fix test language_is_invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
amenezes committed Jul 18, 2022
1 parent 37a0057 commit fb7e477
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_validators.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import asyncio

import pytest

from aiopytesseract import constants, exceptions, validators
Expand Down Expand Up @@ -52,7 +50,5 @@ async def test_language_is_valid(lang):
@pytest.mark.asyncio
@pytest.mark.parametrize("lang", ["por eng", "por:eng", "por-eng", "por+zuul"])
async def test_language_is_invalid(lang):
await asyncio.sleep(0.5)
with pytest.raises(exceptions.LanguageInvalidException):
await validators.language_is_valid(lang)

0 comments on commit fb7e477

Please sign in to comment.