summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-08-09 03:03:27 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-08-09 03:03:27 (GMT)
commit9a47ed883943589c68987a41e5662012131b3536 (patch)
treef91a833665ae6c532ec484aef7e79c0824ef8447
parent3a7ffa7474dfed34f32d52600a73517c8c6edbfc (diff)
downloadcpython-9a47ed883943589c68987a41e5662012131b3536.zip
cpython-9a47ed883943589c68987a41e5662012131b3536.tar.gz
cpython-9a47ed883943589c68987a41e5662012131b3536.tar.bz2
regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect anymore
-rwxr-xr-xLib/test/regrtest.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index c97ec52..6708876 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -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")))