D2521: tests: fix run-tests environment cleanup on Python 3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Mar 1 20:47:30 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list