# HG changeset patch # User timeless # Date 1462439546 0 # 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 -r 47eab0cb72e3 -r ba8999547f81 tests/hghave --- a/tests/hghave Thu May 05 09:07:01 2016 +0000 +++ b/tests/hghave Thu May 05 09:12:26 2016 +0000 @@ -13,13 +13,13 @@ 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()