[Jython-checkins] jython: Minor simplification of r7523

jim.baker jython-checkins at python.org
Sun Jan 11 22:49:27 CET 2015


https://hg.python.org/jython/rev/7e9c491ffd0d
changeset:   7525:7e9c491ffd0d
user:        Jim Baker <jim.baker at rackspace.com>
date:        Sun Jan 11 14:49:20 2015 -0700
summary:
  Minor simplification of r7523

Change regrtest -x to avoid extra copy of excluded tests, per
suggestion of Arfrever on #jython

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


diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -360,7 +360,7 @@
         tests = map(removepy, tests)
 
     stdtests = STDTESTS[:]
-    nottests = list(NOTTESTS.copy())
+    nottests = list(NOTTESTS)
     if exclude:
         for arg in args:
             if arg in stdtests:

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


More information about the Jython-checkins mailing list