# HG changeset patch # User timeless # Date 2016-05-05 09:12:26 # Node ID ba8999547f81657d8be1ca19cea4f6dc52f54e47 # Parent 47eab0cb72e30788721c90519ed36900a08d1088 hghave: switch from iteritems to items With this, test-hghave.t passes on python 3. Four features fail because mercurial still is not py3 safe: absimport cacheable hardlink defaultcacerts But that will be resolved automatically eventually. diff --git a/tests/hghave b/tests/hghave --- a/tests/hghave +++ b/tests/hghave @@ -13,13 +13,13 @@ import hghave checks = hghave.checks def list_features(): - for name, feature in sorted(checks.iteritems()): + for name, feature in sorted(checks.items()): desc = feature[1] print(name + ':', desc) def test_features(): failed = 0 - for name, feature in checks.iteritems(): + for name, feature in checks.items(): check, _ = feature try: check()