aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Richard Belleville <rbellevi@google.com>2018-11-02 14:25:43 -0700
committerGravatar Richard Belleville <rbellevi@google.com>2018-11-02 14:25:43 -0700
commitac0904b56966fee59fd5e1f818dcf87ebca0dd0b (patch)
treef7d67b3de8360dd18cfad477a16bd3557b8bacb6 /tools
parent666fb1c5ee27f70ba9ad94519c8c39cc742ee2ab (diff)
Remove unnecessary list conversion
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index ede64f2a28..ccb7453cb2 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -158,7 +158,7 @@ class Config(object):
would like to run
"""
actual_environ = self.environ.copy()
- for k, v in list(environ.items()):
+ for k, v in environ.items():
actual_environ[k] = v
if not flaky and shortname and shortname in flaky_tests:
flaky = True
@@ -1653,7 +1653,7 @@ build_steps = list(
if make_targets:
make_commands = itertools.chain.from_iterable(
make_jobspec(build_config, list(targets), makefile)
- for (makefile, targets) in list(make_targets.items()))
+ for (makefile, targets) in make_targets.items())
build_steps.extend(set(make_commands))
build_steps.extend(
set(