mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 10:37:52 +08:00
Fix an exception in the flask ext code.
This commit is contained in:
@@ -52,3 +52,7 @@ def test_flask_ext(script, name):
|
||||
"""flask.ext.foo is really imported from flaskext.foo or flask_foo.
|
||||
"""
|
||||
assert name in [c.name for c in jedi.Script(script).completions()]
|
||||
|
||||
|
||||
def test_flask_regression():
|
||||
jedi.Script("from flask.ext.").completions()
|
||||
|
||||
Reference in New Issue
Block a user