diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-08-10 14:19:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 14:19:03 (GMT) |
commit | b97d99cd7f9546493ecc995f003f7b0ba4ba3a17 (patch) | |
tree | 8d3a3d4d944b22328c62adba1672d426eec8d2d6 | |
parent | b5011479808b80545bdd1246725fc7940691b084 (diff) | |
download | cpython-b97d99cd7f9546493ecc995f003f7b0ba4ba3a17.zip cpython-b97d99cd7f9546493ecc995f003f7b0ba4ba3a17.tar.gz cpython-b97d99cd7f9546493ecc995f003f7b0ba4ba3a17.tar.bz2 |
regrtest: count also env changed as failures in progress (#3061)
-rw-r--r-- | Lib/test/libregrtest/main.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index bc8155b..0b48beb 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 " |