Skip to content

Commit

Permalink
Merge pull request #64 from postgrespro/python-3.10
Browse files Browse the repository at this point in the history
node: fix deprecated Iterable import in py3.10
  • Loading branch information
kulaginm authored May 24, 2022
2 parents 87e9fd5 + 7313527 commit 228e700
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testgres/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 228e700

Please sign in to comment.