summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_requests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_requests.py b/tests/test_requests.py
index 0106713d..55a2f97d 100644
--- a/tests/test_requests.py
+++ b/tests/test_requests.py
@@ -29,6 +29,7 @@ from requests.structures import CaseInsensitiveDict
from requests.sessions import SessionRedirectMixin
from requests.models import urlencode
from requests.hooks import default_hooks
+from requests.compat import MutableMapping
from .compat import StringIO, u
from .utils import override_environ
@@ -745,7 +746,7 @@ class TestRequests:
requests.post(url, files=['bad file data'])
def test_post_with_custom_mapping(self, httpbin):
- class CustomMapping(collections.MutableMapping):
+ class CustomMapping(MutableMapping):
def __init__(self, *args, **kwargs):
self.data = dict(*args, **kwargs)