Fix collections abc import deprecation warning. ()

* Fix collections abc import.
Prepare for 3.8 when it is deprecated.

* Fix Pyton 2.7 build.
main
Wolfgang Langner committed by Selwin Ong
parent 14db0ecd26
commit 7a6abb4738

@ -14,7 +14,10 @@ import importlib
import logging
import numbers
import sys
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from .compat import as_text, is_python_version, string_types
from .exceptions import TimeoutFormatError

Loading…
Cancel
Save