mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Merge pull request #136 from tirkarthi/fix-abc
Import ABC through six.moves for Python 2/3 compatibility.
This commit is contained in:
commit
88fe090032
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user