remove _compat module

This commit is contained in:
David Lord 2020-04-03 18:33:40 -07:00
parent 1263d3bd14
commit 662c245795
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
20 changed files with 68 additions and 274 deletions

View file

@ -24,7 +24,6 @@ from werkzeug.http import parse_date
from werkzeug.routing import BuildError
import flask
from flask._compat import text_type
def test_options_work(app, client):
@ -413,7 +412,7 @@ def test_session_expiration(app, client):
@app.route("/test")
def test():
return text_type(flask.session.permanent)
return str(flask.session.permanent)
rv = client.get("/")
assert "set-cookie" in rv.headers