Skip to content

Commit

Permalink
qitest: rm useless rewriting of the env
Browse files Browse the repository at this point in the history
This fix avoids

  RuntimeError: dictionary keys changed during iteration

when using

  qitest run -j n

with n > 1 on python-3.8.
  • Loading branch information
Sébastien Barthélémy committed Jan 28, 2021
1 parent 02af50f commit 8cc36fc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/qitest/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ def parse_tests(conf_path):
res = list()
with open(conf_path, "r") as fp:
res = json.load(fp)
# Make sure environment is a dict string -> string
for test in res:
test_env = test.get("environment")
if test_env:
for key, value in test_env.items():
del test_env[key]
test_env[key] = value
return res


Expand Down

0 comments on commit 8cc36fc

Please sign in to comment.