remove _compat module

This commit is contained in:
David Lord 2020-04-03 18:33:40 -07:00
parent 8cf6480f91
commit 24723fa6e8
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