Skip to content

Commit

Permalink
Backport pull request #378
Browse files Browse the repository at this point in the history
fix test suite warnings
  • Loading branch information
digitalresistor committed Oct 15, 2018
1 parent 570331d commit 4b4ef75
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 18 deletions.
2 changes: 2 additions & 0 deletions src/webob/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ def native_(s, encoding='latin-1', errors='strict'):

try:
from collections.abc import MutableMapping
from collections.abc import Iterable
except ImportError:
from collections import MutableMapping
from collections import Iterable

if PY3:
from urllib import parse
Expand Down
2 changes: 0 additions & 2 deletions src/webob/cookies.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import collections

import base64
import binascii
import hashlib
Expand Down
Loading

0 comments on commit 4b4ef75

Please sign in to comment.