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