diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2016-09-29 00:05:19 -0600 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2016-09-29 19:07:53 -0600 |
| commit | f35a535a1a7677473941699737202f6b87d17c6d (patch) | |
| tree | d57df6bfb570a34f85cd05be96e3ae986deedeb2 /tests | |
| parent | 310477ff453011194275c7e897a48cacab95d0c6 (diff) | |
| download | webob-f35a535a1a7677473941699737202f6b87d17c6d.tar.gz | |
Req.body_file no longer accepts bytes
This has been deprecated since WebOb 1.2 and non-functional for a long
time.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_request.py b/tests/test_request.py index 54eef17..ce10ce8 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -101,7 +101,7 @@ class TestRequestCommon(object): def test_body_file_setter_w_bytes(self): req = self._blankOne('/') - with pytest.raises(DeprecationWarning): + with pytest.raises(ValueError): setattr(req, 'body_file', b'foo') def test_body_file_setter_non_bytes(self): |
