From 1eecf8cf532fab95f6a1cfe2cb812cadfa543182 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 4 May 2020 10:55:35 -0700 Subject: tests: Remove 'six' dependency from devtest This removes 'six' as a dependency for devtest. --- host/tests/devtest/uhd_test_base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'host/tests/devtest/uhd_test_base.py') diff --git a/host/tests/devtest/uhd_test_base.py b/host/tests/devtest/uhd_test_base.py index 11ff9b026..80ce5b9f0 100755 --- a/host/tests/devtest/uhd_test_base.py +++ b/host/tests/devtest/uhd_test_base.py @@ -23,7 +23,6 @@ try: from ruamel import yaml except: import yaml -from six import iteritems from usrp_probe import get_usrp_list #-------------------------------------------------------------------------- @@ -243,7 +242,7 @@ class uhd_example_test_case(uhd_test_case): Calls run_test(). """ test_params = getattr(self, 'test_params', {}) - for test_name, test_args in iteritems(test_params): + for test_name, test_args in test_params.items(): time.sleep(15) # Wait for X300 devices to reclaim them if not 'products' in test_args \ or (self.usrp_info['product'] in test_args.get('products', [])): -- cgit v1.2.3