Skip to content

Commit

Permalink
Ruff linting
Browse files Browse the repository at this point in the history
  • Loading branch information
CollectiveUnicorn committed Jul 30, 2024
1 parent 704810a commit 4122919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/test_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_transcriptions():
timestamp_granularities=["word", "segment"],
)

assert len(transcription.text) > 0, "The transcription should not be empty"
assert len(transcription.text) > 0, "The transcription should not be empty"
assert len(transcription.text) < 500, "The transcription should not be too long"


Expand All @@ -78,4 +78,4 @@ def is_english_or_punctuation(c):

english_chars = [is_english_or_punctuation(c) for c in translation.text]

assert all(english_chars), "Non-English characters have been returned"
assert all(english_chars), "Non-English characters have been returned"

0 comments on commit 4122919

Please sign in to comment.