Skip to content

Commit 228e700

Browse files
authored
Merge pull request #64 from postgrespro/python-3.10
node: fix deprecated Iterable import in py3.10
2 parents 87e9fd5 + 7313527 commit 228e700

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

testgres/node.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
import subprocess
77
import time
88

9-
from collections import Iterable
9+
try:
10+
from collections.abc import Iterable
11+
except ImportError:
12+
from collections import Iterable
13+
1014
from shutil import rmtree
1115
from six import raise_from, iteritems, text_type
1216
from tempfile import mkstemp, mkdtemp

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy