From f1f2aa6bf999b833bce20a54c1759893f92d91da Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Sun, 25 Nov 2018 08:36:47 -0800 Subject: 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 --- test/remote_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/remote_test.py') 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() -- cgit 1.2.3-korg