mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-01 07:03:45 +08:00
Fix a python 2 dynamic issue
This commit is contained in:
1 parent
4cbe2898c0
commit
84f6d95fde
3 files changed
+14
-14
No files matched your search
@@ -386,7 +386,7 @@ def test_import(names):
|
||||
n = nms[1].goto_assignments()[0]
|
||||
# This is very special, normally the name doesn't chance, but since
|
||||
# os.path is a sys.modules hack, it does.
|
||||
assert n.name in ('ntpath', 'posixpath', 'os2emxpath')
|
||||
assert n.name in ('macpath', 'ntpath', 'posixpath', 'os2emxpath')
|
||||
assert n.type == 'module'
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user