[Python-checkins] cpython (3.4): regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect

zach.ware python-checkins at python.org
Sun Aug 9 05:05:45 CEST 2015


https://hg.python.org/cpython/rev/56f4327d3c57
changeset:   97334:56f4327d3c57
branch:      3.4
parent:      97322:7c322c296a3b
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Sat Aug 08 22:03:27 2015 -0500
summary:
  regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect anymore

files:
  Lib/test/regrtest.py |  6 ++----
  1 files changed, 2 insertions(+), 4 deletions(-)


diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -798,10 +798,8 @@
         for time, test in test_times[:10]:
             print("%s: %.1fs" % (test, time))
     if bad:
-        bad = sorted(set(bad) - set(environment_changed))
-        if bad:
-            print(count(len(bad), "test"), "failed:")
-            printlist(bad)
+        print(count(len(bad), "test"), "failed:")
+        printlist(bad)
     if environment_changed:
         print("{} altered the execution environment:".format(
                  count(len(environment_changed), "test")))

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list