diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-12-06 04:52:43 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-12-06 04:52:43 (GMT) |
commit | 3c459de2c6e8b8a7bbb4d5250a5a4b271182b9af (patch) | |
tree | 37f3a03b81e5c643d903d98dcb698af829e55129 | |
parent | 4f1aeaef3d0f943d2f1a24c7ccab0f2a6a2e5e97 (diff) | |
download | cpython-3c459de2c6e8b8a7bbb4d5250a5a4b271182b9af.zip cpython-3c459de2c6e8b8a7bbb4d5250a5a4b271182b9af.tar.gz cpython-3c459de2c6e8b8a7bbb4d5250a5a4b271182b9af.tar.bz2 |
remove pointless keys() call
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 5239d5a..b6883b5 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -462,7 +462,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, 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 |