diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2024-08-20 15:15:22 -0400 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2024-11-27 07:42:00 +0000 |
commit | 1beb88ed3ba28b5e51b1a8d8d5573645c048031a (patch) | |
tree | 75465df9b527b267a920acd53adaadc6e9e7058f /test/vpp_papi_provider.py | |
parent | 75c67ac5db4af343b33da02ecd74a55684f961b0 (diff) |
tests: remove use of python 2.7 compatibility module 'six'
- python 2.7 is no longer supported, clean up technical
debt with use of 'six' module in test code
Type: test
Change-Id: I70e737920a6048c5e9caa20fece5ee21b91bb353
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 2d49bf2a8f0..1822e4d9d19 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -9,7 +9,6 @@ import os import socket import time import queue -from six import moves, iteritems from config import config from vpp_papi import VPPApiClient from hook import Hook @@ -333,7 +332,7 @@ class VppPapiProvider(object): # Default override if name in defaultmapping: - for k, v in iteritems(defaultmapping[name]): + for k, v in defaultmapping[name].items(): if k in d: continue d[k] = v @@ -389,7 +388,7 @@ class VppPapiProvider(object): api_fn.__name__, as_fn_signature(api_args), reply.retval, - moves.reprlib.repr(reply), + reprlib.repr(reply), ) ) self.test_class.logger.info(msg) |