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

jdanek pushed a commit to branch jd_tryout
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/jd_tryout by this push:
     new c588029  fixup typing DISPATCH-2323 Add Pytest-compatible logging 
displayed on test failure
c588029 is described below

commit c588029e733c3bd135d8ac54e98b4903ef086d34
Author: Jiri DanÄ›k <[email protected]>
AuthorDate: Sun Jan 30 18:23:33 2022 +0100

    fixup typing DISPATCH-2323 Add Pytest-compatible logging displayed on test 
failure
---
 tests/system_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/system_test.py b/tests/system_test.py
index 877105b..fe39dd1 100755
--- a/tests/system_test.py
+++ b/tests/system_test.py
@@ -29,7 +29,7 @@ Features:
 """
 
 import logging
-from typing import Callable, Optional
+from typing import Callable, Optional, List, Tuple
 
 import errno
 import sys
@@ -1421,8 +1421,8 @@ class Logger:
         self.print_to_console = print_to_console
         self.save_for_dump = save_for_dump
         self.python_log_level = python_log_level
-        self.logs = []
         self.ofilename = ofilename
+        self.logs: List[Tuple[Timestamp, str]] = []
 
     def log(self, msg):
         ts = Timestamp()

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to