diff --git a/tests/Pipfile b/tests/Pipfile index 4c810ba1fc8..89b0d698c98 100644 --- a/tests/Pipfile +++ b/tests/Pipfile @@ -26,7 +26,7 @@ pyflakes = "*" [packages] # Keep init.cli.ext updated with this required autest version. -autest = "==1.10.0" +autest = "==1.10.1" traffic-replay = "*" # this should install TRLib, MicroServer, MicroDNS, Traffic-Replay hyper = "*" diff --git a/tests/gold_tests/autest-site/ordered_set_queue.py b/tests/gold_tests/autest-site/ordered_set_queue.py index 5001cf7ade1..789301da3aa 100644 --- a/tests/gold_tests/autest-site/ordered_set_queue.py +++ b/tests/gold_tests/autest-site/ordered_set_queue.py @@ -19,6 +19,11 @@ import collections +try: + collectionsAbc = collections.abc +except AttributeError: + collectionsAbc = collections + try: import queue as Queue except ImportError: @@ -30,7 +35,7 @@ # https://code.activestate.com/recipes/576694/ # -class OrderedSet(collections.MutableSet): +class OrderedSet(collectionsAbc.MutableSet): def __init__(self, iterable=None): self.end = end = []