py3: use dict.items() instead of dict.iteritems() in tests/test-lfs-server.t
authorPulkit Goyal <pulkit@yandex-team.ru>
Fri, 18 Jan 2019 19:28:31 +0530
changeset 41357 dafd13c7237b
parent 41356 23c80ce166f1
child 41358 0a0927f7549d
py3: use dict.items() instead of dict.iteritems() in tests/test-lfs-server.t dict.iteritems() is not present on Python 3. Differential Revision: https://phab.mercurial-scm.org/D5673
tests/test-lfs-serve.t
--- a/tests/test-lfs-serve.t	Fri Jan 18 19:26:28 2019 +0530
+++ b/tests/test-lfs-serve.t	Fri Jan 18 19:28:31 2019 +0530
@@ -51,7 +51,7 @@
   >     opts[b'manifest'] = False
   >     opts[b'dir'] = False
   >     rl = cmdutil.openrevlog(repo, b'debugprocessors', file_, opts)
-  >     for flag, proc in rl._flagprocessors.iteritems():
+  >     for flag, proc in rl._flagprocessors.items():
   >         ui.status(b"registered processor '%#x'\n" % (flag))
   > EOF