remove deprecated code

This commit is contained in:
David Lord 2020-04-03 17:34:32 -07:00
parent a0a61acdec
commit 1263d3bd14
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
9 changed files with 0 additions and 198 deletions

View file

@ -19,7 +19,6 @@ from flask.cli import ScriptInfo
from flask.json import jsonify
from flask.testing import EnvironBuilder
from flask.testing import FlaskCliRunner
from flask.testing import make_test_environ_builder
try:
import blinker
@ -121,15 +120,6 @@ def test_path_is_url(app):
assert eb.path == "/"
def test_make_test_environ_builder(app):
with pytest.deprecated_call():
eb = make_test_environ_builder(app, "https://example.com/")
assert eb.url_scheme == "https"
assert eb.host == "example.com"
assert eb.script_root == ""
assert eb.path == "/"
def test_environbuilder_json_dumps(app):
"""EnvironBuilder.json_dumps() takes settings from the app."""
app.config["JSON_AS_ASCII"] = False