D2521: tests: fix run-tests environment cleanup on Python 3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Mar 1 16:12:31 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc3df20906689: tests: fix run-tests environment cleanup on Python 3 (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2521?vs=6276&id=6277
REVISION DETAIL
https://phab.mercurial-scm.org/D2521
AFFECTED FILES
tests/run-tests.py
CHANGE DETAILS
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -1087,7 +1087,7 @@
del env[k]
# unset env related to hooks
- for k in env.keys():
+ for k in list(env):
if k.startswith('HG_'):
del env[k]
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list