]> granicus.if.org Git - python/commitdiff
regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect anymore
authorZachary Ware <zachary.ware@gmail.com>
Sun, 9 Aug 2015 03:03:27 +0000 (22:03 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Sun, 9 Aug 2015 03:03:27 +0000 (22:03 -0500)
Lib/test/regrtest.py

index c97ec52c7a1c6dd309753d2aa53078e756364d95..6708876c04402b9159371efc35c54e70d02b0489 100755 (executable)
@@ -798,10 +798,8 @@ def main(tests=None, **kwargs):
         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")))