aboutsummaryrefslogtreecommitdiffstats
path: root/test/remote_test.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-11-25 08:36:47 -0800
committerOle Trøan <otroan@employees.org>2018-11-27 09:02:02 +0000
commitf1f2aa6bf999b833bce20a54c1759893f92d91da (patch)
tree06f3efde1741746c7992ad30700f6c808bd70225 /test/remote_test.py
parent6e4c6ad92e59045f0babf5af5093cb8402ec37fb (diff)
VPP-1508 python3 tests: use six.iteritems
This replaces dictionary.iteritems() on Python 2 and dictionary.items() on Python 3. Change-Id: I58a3ded7d284c59e28d484b0c285aac435bfc229 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/remote_test.py')
-rw-r--r--test/remote_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/remote_test.py b/test/remote_test.py
index 40e798444b1..8ebc8a00d1b 100644
--- a/test/remote_test.py
+++ b/test/remote_test.py
@@ -134,7 +134,7 @@ class RemoteClass(Process):
isinstance(val, RemoteClassAttr):
mutable_args[i] = val.get_remote_value()
args = tuple(mutable_args)
- for key, val in kwargs.iteritems():
+ for key, val in six.iteritems(kwargs):
if isinstance(val, RemoteClass) or \
isinstance(val, RemoteClassAttr):
kwargs[key] = val.get_remote_value()