summaryrefslogtreecommitdiff
path: root/tests/test_transcription.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_transcription.py')
-rw-r--r--tests/test_transcription.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/test_transcription.py b/tests/test_transcription.py
index 916aac2..e79bb2b 100644
--- a/tests/test_transcription.py
+++ b/tests/test_transcription.py
@@ -6,11 +6,13 @@ from parley.transcription import parse_jsonl
class ParseJsonlTests(unittest.TestCase):
def test_skips_header_and_malformed_lines(self) -> None:
- output = '\n'.join([
- 'runtime diagnostic',
- '{"type":"batch_header","count":1}',
- '{"file":"recording.wav","text":"hello world"}',
- ])
+ output = "\n".join(
+ [
+ "runtime diagnostic",
+ '{"type":"batch_header","count":1}',
+ '{"file":"recording.wav","text":"hello world"}',
+ ]
+ )
self.assertEqual(parse_jsonl(output), "hello world")
def test_reports_error_row(self) -> None: