diff --git a/tests/unit/test_speech.py b/tests/unit/test_speech.py index ee7674288c9..e91f4d3b12d 100644 --- a/tests/unit/test_speech.py +++ b/tests/unit/test_speech.py @@ -526,12 +526,14 @@ def test_decomposed_normalizeOnReport(self): self.assertEqual(repr(list(output)), expected) def test_normalizedInSymbolDict_normalizeOff(self): - expected = repr([ - '·', - EndUtteranceCommand(), - ]) + expected = repr( + [ + "·", + EndUtteranceCommand(), + ], + ) output = _getSpellingSpeechWithoutCharMode( - text='·', + text="·", locale="en", useCharacterDescriptions=False, sayCapForCapitals=False, @@ -543,12 +545,14 @@ def test_normalizedInSymbolDict_normalizeOff(self): self.assertEqual(repr(list(output)), expected) def test_normalizedInSymbolDict_normalizeOnDontReport(self): - expected = repr([ - processSpeechSymbol("en", "·"), - EndUtteranceCommand(), - ]) + expected = repr( + [ + processSpeechSymbol("en", "·"), + EndUtteranceCommand(), + ], + ) output = _getSpellingSpeechWithoutCharMode( - text='·', + text="·", locale="en", useCharacterDescriptions=False, sayCapForCapitals=False, @@ -560,13 +564,15 @@ def test_normalizedInSymbolDict_normalizeOnDontReport(self): self.assertEqual(repr(list(output)), expected) def test_normalizedInSymbolDict_normalizeOnReport(self): - expected = repr([ - processSpeechSymbol("en", "·"), - ' normalized', - EndUtteranceCommand(), - ]) + expected = repr( + [ + processSpeechSymbol("en", "·"), + " normalized", + EndUtteranceCommand(), + ], + ) output = _getSpellingSpeechWithoutCharMode( - text='·', + text="·", locale="en", useCharacterDescriptions=False, sayCapForCapitals=False,