Remove six dependency
This commit is contained in:
parent
135c53a5f2
commit
a0801719f8
9 changed files with 21 additions and 21 deletions
|
|
@ -17,10 +17,10 @@ import unittest
|
|||
from datetime import datetime
|
||||
from threading import Thread
|
||||
from flask.testsuite import FlaskTestCase, emits_module_deprecation_warning
|
||||
from flask._compat import text_type
|
||||
from werkzeug.exceptions import BadRequest, NotFound
|
||||
from werkzeug.http import parse_date
|
||||
from werkzeug.routing import BuildError
|
||||
import six
|
||||
|
||||
|
||||
class BasicFunctionalityTestCase(FlaskTestCase):
|
||||
|
|
@ -276,7 +276,7 @@ class BasicFunctionalityTestCase(FlaskTestCase):
|
|||
|
||||
@app.route('/test')
|
||||
def test():
|
||||
return six.text_type(flask.session.permanent)
|
||||
return text_type(flask.session.permanent)
|
||||
|
||||
client = app.test_client()
|
||||
rv = client.get('/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue