From: Victor Stinner Date: Thu, 10 Aug 2017 14:19:03 +0000 (+0200) Subject: regrtest: count also env changed as failures in progress (#3061) X-Git-Tag: v3.7.0a1~291 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b97d99cd7f9546493ecc995f003f7b0ba4ba3a17;p=python regrtest: count also env changed as failures in progress (#3061) --- diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index bc8155bbff..0b48bebb0d 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -132,8 +132,9 @@ class Regrtest: # "[ 51/405/1] test_tcl passed" line = f"{test_index:{self.test_count_width}}{self.test_count}" - if self.bad and not self.ns.pgo: - line = f"{line}/{len(self.bad)}" + fails = len(self.bad) + len(self.environment_changed) + if fails and not self.ns.pgo: + line = f"{line}/{fails}" line = f"[{line}] {test}" # add the system load prefix: "load avg: 1.80 "