diff options
| author | Raymond Hettinger <raymond.hettinger@gmail.com> | 2018-02-04 20:15:31 -0800 |
|---|---|---|
| committer | Nate Prewitt <Nate.Prewitt@gmail.com> | 2018-05-18 07:06:22 -0700 |
| commit | cc223f5b6e6b7d04cdc765873dee556f6d87fa6b (patch) | |
| tree | b396e587e4bbafde6a49271eeaf1b89dcb855f1d /tests/test_requests.py | |
| parent | fe8290b3d0ca21dd8ae5471a59a8bf13d3dcb31e (diff) | |
| download | python-requests-3.7_collections.tar.gz | |
Separate collections from collections.abc3.7_collections
Diffstat (limited to 'tests/test_requests.py')
| -rw-r--r-- | tests/test_requests.py | 3 |
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) |
