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):
1911
1911
except CommandFailed :
1912
1912
if os .environ .get ("RERUN_FAILURES" , "0" ) == "0" :
1913
1913
# Don't rerun on failures
1914
- return
1914
+ sys . exit ( 1 )
1915
1915
1916
1916
# Don't print the system information, not the test selection on reruns
1917
1917
global PRINT_TEST_SELECTION
@@ -1962,7 +1962,7 @@ def ci_test_onedir_pkgs(session):
1962
1962
except CommandFailed :
1963
1963
if os .environ .get ("RERUN_FAILURES" , "0" ) == "0" :
1964
1964
# Don't rerun on failures
1965
- return
1965
+ sys . exit ( 1 )
1966
1966
cmd_args = chunks ["install" ]
1967
1967
pytest_args = (
1968
1968
common_pytest_args [:]
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ def string(self):
456
456
version_string += f".{ self .mbugfix } "
457
457
if self .pre_type :
458
458
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 :
460
460
noc = self .noc
461
461
if noc < 0 :
462
462
noc = "0na"
You can’t perform that action at this time.
0 commit comments