[Python-checkins] cpython (2.7): remove pointless keys() call
benjamin.peterson
python-checkins at python.org
Sat Dec 5 23:57:42 EST 2015
https://hg.python.org/cpython/rev/0ad57f476e64
changeset: 99471:0ad57f476e64
branch: 2.7
parent: 99468:2096109fe812
user: Benjamin Peterson <benjamin at python.org>
date: Sat Dec 05 20:52:43 2015 -0800
summary:
remove pointless keys() call
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
@@ -462,7 +462,7 @@
test_times = []
test_support.use_resources = use_resources
- save_modules = set(sys.modules.keys())
+ save_modules = set(sys.modules)
def accumulate_result(test, result):
ok, test_time = result
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list