Skip to content

Commit 4b4ef75

Browse files
Backport pull request #378
fix test suite warnings
1 parent 570331d commit 4b4ef75

File tree

6 files changed

+129
-18
lines changed

6 files changed

+129
-18
lines changed

src/webob/compat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ def native_(s, encoding='latin-1', errors='strict'):
5151

5252
try:
5353
from collections.abc import MutableMapping
54+
from collections.abc import Iterable
5455
except ImportError:
5556
from collections import MutableMapping
57+
from collections import Iterable
5658

5759
if PY3:
5860
from urllib import parse

src/webob/cookies.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import collections
2-
31
import base64
42
import binascii
53
import hashlib

0 commit comments

Comments
 (0)