Merge pull request #136 from tirkarthi/fix-abc

Import ABC through six.moves for Python 2/3 compatibility.
This commit is contained in:
Paul Fitzpatrick 2022-02-21 17:18:05 -05:00 committed by GitHub
commit 88fe090032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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