From 4122919865d51dcdc20f69e04c2362cee67c7310 Mon Sep 17 00:00:00 2001 From: gharvey Date: Tue, 30 Jul 2024 12:27:34 -0700 Subject: [PATCH] Ruff linting --- tests/e2e/test_whisper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/test_whisper.py b/tests/e2e/test_whisper.py index 6673bedc8..e41cefc23 100644 --- a/tests/e2e/test_whisper.py +++ b/tests/e2e/test_whisper.py @@ -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" @@ -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"