remove deprecated Request.module

This commit is contained in:
David Lord 2017-06-26 07:46:33 -07:00
parent d63c2bc417
commit 723e665004
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 19 additions and 49 deletions

View file

@ -9,8 +9,6 @@
:license: BSD, see LICENSE for more details.
"""
import pytest
import flask
@ -26,14 +24,3 @@ class TestRequestDeprecation(object):
client.post('/', data='{"spam": 42}', content_type='application/json')
recwarn.pop(DeprecationWarning)
def test_request_module(self, recwarn, app, client):
"""Request.module is deprecated"""
@app.route('/')
def index():
assert flask.request.module is None
return 'OK'
client.get('/')
recwarn.pop(DeprecationWarning)