You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/13 22:27:27 UTC

[incubator-ponymail-unit-tests] branch master updated: Pylint

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git


The following commit(s) were added to refs/heads/master by this push:
     new 09563f0  Pylint
09563f0 is described below

commit 09563f0c06a6b146fd61d1820b15f31f33ebb0aa
Author: Sebb <se...@apache.org>
AuthorDate: Thu Aug 13 23:27:13 2020 +0100

    Pylint
---
 tests/test-parsing.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/test-parsing.py b/tests/test-parsing.py
index cf14bcf..4aeef6f 100644
--- a/tests/test-parsing.py
+++ b/tests/test-parsing.py
@@ -11,7 +11,6 @@ import argparse
 import collections
 import hashlib
 
-parse_html = False
 nonce = None
 fake_args = collections.namedtuple('fakeargs', ['verbose', 'ibody'])(False, None)
 
@@ -57,7 +56,7 @@ def run_tests(args):
         no_tests = len(tests)
         if no_messages != no_tests:
             sys.stderr.write("Warning: %s run for parsing test of %s contains %u tests, but mbox file has %u emails!\n" %
-                             (mboxfile, no_tests, no_messages))
+                             ('TBA', mboxfile, no_tests, no_messages))
         for test in tests:
             tests_run += 1
             message_raw = mbox.get_bytes(test['index'])  # True raw format, as opposed to calling .as_bytes()