You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/06/02 05:12:47 UTC

[incubator-ponymail-unit-tests] 01/03: just print, don't flood runall.py with this

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

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

commit 977deec3777dd2952e053bb5095d18c34623f680
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 2 07:07:49 2021 +0200

    just print, don't flood runall.py with this
---
 tests/test-generators.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-generators.py b/tests/test-generators.py
index 698a52c..1dbd36f 100755
--- a/tests/test-generators.py
+++ b/tests/test-generators.py
@@ -122,7 +122,7 @@ def run_tests(args):
                     msgid =(message.get('message-id') or '').strip()
                     dateheader = message.get('date')
                     if args.skipnodate and not dateheader:
-                        sys.stderr.write("""[SKIP] %s, index %2u: No date header found and --skipnodate specified, skipping this test!\n""" %
+                        print("""[SKIP] %s, index %2u: No date header found and --skipnodate specified, skipping this test!\n""" %
                                          (gen_type, key, ))
                         continue
                     if msgid != test['message-id']: