Skip to content

Commit b9d802d

Browse files
committed
Fixed failing test by correcting translated Spanish result. Now matches what Google Translate API is providing for the given input.
1 parent 40f0714 commit b9d802d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_translate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_translate_missing_from_language_auto_detects(self):
8585
def test_translate_text(self):
8686
text = "This is a sentence."
8787
translated = self.translator.translate(text, to_lang="es")
88-
assert_equal(translated, "Esta es una frase.")
88+
assert_equal(translated, "Esta es una oración.")
8989
es_text = "Esta es una frase."
9090
to_en = self.translator.translate(es_text, from_lang="es", to_lang="en")
9191
assert_equal(to_en, "This is a sentence.")

0 commit comments

Comments
 (0)