mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-13 10:08:44 +08:00
A stab at davidhalter/jedi#361 (Flask extension imports)
Both new-style and old-style extensions work, but only when imported with a 'from'. There are two skipped tests of the full dotted name imports. Also, our fixture has a normal flaskext package, whereas in practice the flaskext module is injected from a pth file and does not have __init__.py, we need to figure out to handle that.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Baz = 1
|
||||
@@ -0,0 +1,2 @@
|
||||
class Foo(object):
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
class Bar(object):
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
Moo = 1
|
||||
Reference in New Issue
Block a user