diff --git a/testgres/node.py b/testgres/node.py index 8e64da01..d1bb1d97 100644 --- a/testgres/node.py +++ b/testgres/node.py @@ -6,7 +6,11 @@ import subprocess import time -from collections import Iterable +try: + from collections import Iterable +except ImportError: + from collections.abc import Iterable + from shutil import rmtree from six import raise_from, iteritems, text_type from tempfile import mkstemp, mkdtemp