Try to fix up tests, Python 3.8 warnings

This commit is contained in:
Friedrich Lindenberg
2019-01-31 14:56:19 +01:00
parent 163e6554cc
commit 8324350f2e
4 changed files with 12 additions and 2 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
import six
from hashlib import sha1
from collections import OrderedDict, Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections as Iterable
from collections import OrderedDict
from six.moves.urllib.parse import urlparse
QUERY_STEP = 1000