File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1911,7 +1911,7 @@ def ci_test_onedir_pkgs(session):
19111911 except CommandFailed :
19121912 if os .environ .get ("RERUN_FAILURES" , "0" ) == "0" :
19131913 # Don't rerun on failures
1914- return
1914+ sys . exit ( 1 )
19151915
19161916 # Don't print the system information, not the test selection on reruns
19171917 global PRINT_TEST_SELECTION
@@ -1962,7 +1962,7 @@ def ci_test_onedir_pkgs(session):
19621962 except CommandFailed :
19631963 if os .environ .get ("RERUN_FAILURES" , "0" ) == "0" :
19641964 # Don't rerun on failures
1965- return
1965+ sys . exit ( 1 )
19661966 cmd_args = chunks ["install" ]
19671967 pytest_args = (
19681968 common_pytest_args [:]
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ def string(self):
456456 version_string += f".{ self .mbugfix } "
457457 if self .pre_type :
458458 version_string += f"{ self .pre_type } { self .pre_num } "
459- if self .noc and self .sha :
459+ if self .noc is not None and self .sha :
460460 noc = self .noc
461461 if noc < 0 :
462462 noc = "0na"
You can’t perform that action at this time.
0 commit comments