@@ -26,6 +26,10 @@ class TestConfigPropNames:
26
26
TEST_CFG__LOG_DIR = "TEST_CFG__LOG_DIR"
27
27
28
28
29
+ # /////////////////////////////////////////////////////////////////////////////
30
+
31
+ T_TUPLE__str_int = typing .Tuple [str , int ]
32
+
29
33
# /////////////////////////////////////////////////////////////////////////////
30
34
# TestStartupData__Helper
31
35
@@ -110,11 +114,11 @@ class TEST_PROCESS_STATS:
110
114
cUnexpectedTests : int = 0
111
115
cAchtungTests : int = 0
112
116
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 ()
118
122
119
123
cTotalDuration : datetime .timedelta = datetime .timedelta ()
120
124
@@ -769,7 +773,7 @@ def helper__calc_W(n: int) -> int:
769
773
770
774
771
775
# ------------------------------------------------------------------------
772
- def helper__print_test_list (tests : list [str ]) -> None :
776
+ def helper__print_test_list (tests : typing . List [str ]) -> None :
773
777
assert type (tests ) == list # noqa: E721
774
778
775
779
assert helper__calc_W (9 ) == 1
@@ -796,7 +800,7 @@ def helper__print_test_list(tests: list[str]) -> None:
796
800
797
801
798
802
# ------------------------------------------------------------------------
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 :
800
804
assert type (tests ) == list # noqa: E721
801
805
802
806
assert helper__calc_W (9 ) == 1
@@ -843,7 +847,7 @@ def LOCAL__print_line1_with_header(header: str):
843
847
assert header != ""
844
848
logging .info (C_LINE1 + " [" + header + "]" )
845
849
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 ]):
847
851
assert type (header ) == str # noqa: E721
848
852
assert type (test_count ) == int # noqa: E721
849
853
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]):
858
862
logging .info ("" )
859
863
860
864
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 ]
862
866
):
863
867
assert type (header ) == str # noqa: E721
864
868
assert type (test_count ) == int # noqa: E721
0 commit comments