Grammalecte  Check-in [32d1eab202]

Overview
Comment:[fr] remove print() in tests
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 32d1eab202998134a55783a170452f833f73ee93ad4801b0dc29bbc5715845c4
User & Date: olr on 2020-09-16 08:05:30
Other Links: manifest | tags
Context
2020-09-18
14:22
[fr] ajustements check-in: 8f279e11da user: olr tags: trunk, fr
2020-09-16
08:05
[fr] remove print() in tests check-in: 32d1eab202 user: olr tags: trunk, fr
08:04
[fr] ajustements check-in: 00ed7d0ed7 user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/modules/tests_modules.py from [420f61228e] to [b89e5adb92].

52
53
54
55
56
57
58

59
60
61



62
63
64
65
66
67
68
52
53
54
55
56
57
58
59



60
61
62
63
64
65
66
67
68
69







+
-
-
-
+
+
+








    def test_suggest (self):
        for sWord in [
            "déelirranttesss", "vallidasion", "Emilie", "exibission", "ditirembique", "jai", "email",
            "fatiqué", "coeur", "trèèèèèèèèès", "vraaaaiiiimeeeeennnt", "apele", "email", "Co2",
            "emmppâiiiller", "testt", "apelaion", "exsepttion", "sintaxik", "ebriete", "ennormmement"
        ]:
            aSugg = self.oDic.suggest(sWord)
            with timeblock(sWord):
                aSugg = self.oDic.suggest(sWord)
                print(sWord, "->", " ".join(aSugg))
            #with timeblock(sWord):
            #    aSugg = self.oDic.suggest(sWord)
            #    print(sWord, "->", " ".join(aSugg))


class TestConjugation (unittest.TestCase):
    "Tests des conjugaisons"

    @classmethod
    def setUpClass (cls):