@@ -26,6 +26,10 @@ class TestConfigPropNames:
2626 TEST_CFG__LOG_DIR = "TEST_CFG__LOG_DIR"
2727
2828
29+ # /////////////////////////////////////////////////////////////////////////////
30+
31+ T_TUPLE__str_int = typing .Tuple [str , int ]
32+
2933# /////////////////////////////////////////////////////////////////////////////
3034# TestStartupData__Helper
3135
@@ -110,11 +114,11 @@ class TEST_PROCESS_STATS:
110114 cUnexpectedTests : int = 0
111115 cAchtungTests : int = 0
112116
113- FailedTests = list [ str , int ] ()
114- XFailedTests = list [ str , int ] ()
115- NotXFailedTests = list [str ]()
116- WarningTests = list [ str , int ] ()
117- AchtungTests = list [str ]()
117+ FailedTests : typing . List [ T_TUPLE__str_int ] = list ()
118+ XFailedTests : typing . List [ T_TUPLE__str_int ] = list ()
119+ NotXFailedTests : typing . List [str ] = list ()
120+ WarningTests : typing . List [ T_TUPLE__str_int ] = list ()
121+ AchtungTests : typing . List [str ] = list ()
118122
119123 cTotalDuration : datetime .timedelta = datetime .timedelta ()
120124
@@ -769,7 +773,7 @@ def helper__calc_W(n: int) -> int:
769773
770774
771775# ------------------------------------------------------------------------
772- def helper__print_test_list (tests : list [str ]) -> None :
776+ def helper__print_test_list (tests : typing . List [str ]) -> None :
773777 assert type (tests ) == list # noqa: E721
774778
775779 assert helper__calc_W (9 ) == 1
@@ -796,7 +800,7 @@ def helper__print_test_list(tests: list[str]) -> None:
796800
797801
798802# ------------------------------------------------------------------------
799- def helper__print_test_list2 (tests : list [ str , int ]) -> None :
803+ def helper__print_test_list2 (tests : typing . List [ T_TUPLE__str_int ]) -> None :
800804 assert type (tests ) == list # noqa: E721
801805
802806 assert helper__calc_W (9 ) == 1
@@ -843,7 +847,7 @@ def LOCAL__print_line1_with_header(header: str):
843847 assert header != ""
844848 logging .info (C_LINE1 + " [" + header + "]" )
845849
846- def LOCAL__print_test_list (header : str , test_count : int , test_list : list [str ]):
850+ def LOCAL__print_test_list (header : str , test_count : int , test_list : typing . List [str ]):
847851 assert type (header ) == str # noqa: E721
848852 assert type (test_count ) == int # noqa: E721
849853 assert type (test_list ) == list # noqa: E721
@@ -858,7 +862,7 @@ def LOCAL__print_test_list(header: str, test_count: int, test_list: list[str]):
858862 logging .info ("" )
859863
860864 def LOCAL__print_test_list2 (
861- header : str , test_count : int , test_list : list [ str , int ]
865+ header : str , test_count : int , test_list : typing . List [ T_TUPLE__str_int ]
862866 ):
863867 assert type (header ) == str # noqa: E721
864868 assert type (test_count ) == int # noqa: E721
0 commit comments