Commit 8d3b7974 authored by Michal Čihař's avatar Michal Čihař

Skip test on IOError, this usually means service problems

parent b80ed7d2
......@@ -66,7 +66,7 @@ class MachineTranslationTest(TestCase):
try:
translation = machine.translate(lang, word, None, None)
self.assertIsInstance(translation, list)
except MachineTranslationError as exc:
except (MachineTranslationError, IOError) as exc:
self.skipTest(str(exc))
def test_glosbe(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment