Import ABC through six.moves for Python 2/3 compatibility.

This commit is contained in:
Karthikeyan Singaravelan 2022-02-19 05:31:05 +00:00
parent bf7c46c3cd
commit 08cbdf29f5
2 changed files with 3 additions and 2 deletions

View File

@ -10,10 +10,11 @@ import rlcompleter
import sys import sys
import time import time
import traceback import traceback
from collections import namedtuple, OrderedDict, Hashable, defaultdict from collections import namedtuple, OrderedDict, defaultdict
import six import six
from six.moves import zip from six.moves import zip
from six.moves.collections_abc import Hashable
from sortedcontainers import SortedSet from sortedcontainers import SortedSet
import acl import acl

View File

@ -2,10 +2,10 @@ import random
import string import string
import timeit import timeit
import unittest import unittest
from collections import Hashable
import six import six
from six.moves import xrange from six.moves import xrange
from six.moves.collections_abc import Hashable
import match_counter import match_counter
from testutil import repeat_until_passes from testutil import repeat_until_passes