Index: gc_lang/fr/modules/tests.py ================================================================== --- gc_lang/fr/modules/tests.py +++ gc_lang/fr/modules/tests.py @@ -204,16 +204,16 @@ nError += 1 if nError: print("Unexpected errors:", nError) # untested rules i = 0 + echo("Untested rules:") for _, sOpt, sLineId, sRuleId in gce.listRules(): if sOpt != "@@@@" and sRuleId not in self._aTestedRules and not re.search("^[0-9]+[sp]$|^[pd]_", sRuleId): - echo(sLineId + "/" + sRuleId, end= ", ") + echo(sLineId + "/" + sRuleId) i += 1 - if i: - echo("\n[{} untested rules]".format(i)) + echo("[{} untested rules]".format(i)) def _splitTestLine (self, sLine): sText, sSugg = sLine.split("->>") return (sText.strip(), sSugg.strip())