From 12bfcb5cd602eaef6c090e47172edb02a196e538 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Thu, 13 Apr 2023 10:16:11 -0700 Subject: [PATCH] tests: Fix PriorityQueue import Not sure how we didn't catch this before; py2 gate jobs still seem to run these tests and they'd pass?? Change-Id: I24a5680d19af609b92588249610e4a1f128bdad3 --- test/unit/obj/test_updater.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/obj/test_updater.py b/test/unit/obj/test_updater.py index 941ec3dc36..1629e0ac25 100644 --- a/test/unit/obj/test_updater.py +++ b/test/unit/obj/test_updater.py @@ -12,10 +12,9 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -from queue import PriorityQueue - import eventlet import six.moves.cPickle as pickle +from six.moves.queue import PriorityQueue import mock import os import unittest