Remove six dependency
This commit is contained in:
parent
135c53a5f2
commit
a0801719f8
9 changed files with 21 additions and 21 deletions
|
|
@ -11,9 +11,12 @@
|
|||
|
||||
import sys
|
||||
import unittest
|
||||
try:
|
||||
from imp import reload as reload_module
|
||||
except ImportError:
|
||||
reload_module = reload
|
||||
from flask.testsuite import FlaskTestCase
|
||||
from flask._compat import PY2
|
||||
from six.moves import reload_module
|
||||
|
||||
class ExtImportHookTestCase(FlaskTestCase):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue