From d4e75618d6d2ba36191d33bc7a9a0eac7b222725 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 9 Nov 2017 09:20:39 -0800 Subject: [PATCH] TranslateParty: clean up tests - Remove reference to "WTE" - Remove Python 2 check. --- TranslateParty/test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TranslateParty/test.py b/TranslateParty/test.py index 8b18de8..0e1eee2 100644 --- a/TranslateParty/test.py +++ b/TranslateParty/test.py @@ -34,15 +34,13 @@ from sys import version_info class TranslatePartyTestCase(PluginTestCase): plugins = ('TranslateParty',) - @unittest.skipIf(version_info[0] < 3, - "Not supported on Python 2 (severe Unicode handling problems)") @unittest.skipUnless(network, "Network-based tests have been disabled via " "--no-network") def testTranslateParty(self): inp = "The quick brown fox jumps over the lazy dog." for _ in range(2): m = self.getMsg("tp %s" % inp) - print('\nTranslateParty Input: %s\nWTE Response: %s' % (inp, m.args[1])) + print('\nTranslateParty input: %s\nTranslateParty response: %s' % (inp, m.args[1])) assert m, 'No response found.' # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: