cleanup werkzeug import (#2582)

This commit is contained in:
Hsiaoming Yang 2018-01-06 18:49:01 +09:00 committed by Armin Ronacher
parent eebc0edfdd
commit 22e072379b
2 changed files with 3 additions and 16 deletions

View file

@ -15,11 +15,7 @@ from contextlib import contextmanager
from werkzeug.test import Client, EnvironBuilder
from flask import _request_ctx_stack
from flask.json import dumps as json_dumps
try:
from werkzeug.urls import url_parse
except ImportError:
from urlparse import urlsplit as url_parse
from werkzeug.urls import url_parse
def make_test_environ_builder(