20836: Update test_select for Py<3.8 compatibility
[arvados.git] / sdk / python / tests / test_util.py
index f111abcf4ac5d08a02b57870eba46c38213fd42f..75d4a89e30ea77ee061908f601377d24ba74201a 100644 (file)
@@ -214,5 +214,5 @@ class KeysetListAllTestCase(unittest.TestCase):
         self.assertEqual(actual, [item])
         calls = list_func.call_args_list
         self.assertTrue(len(calls) >= 2, "list_func() not called enough to exhaust items")
-        for call in calls:
-            self.assertEqual(set(call.kwargs.get('select', ())), expect_select)
+        for args, kwargs in calls:
+            self.assertEqual(set(kwargs.get('select', ())), expect_select)