forked from VimPlug/jedi
Get compiled name working a bit better with stubs
This commit is contained in:
@@ -18,7 +18,7 @@ import textwrap
|
||||
import pytest
|
||||
|
||||
import jedi
|
||||
from ..helpers import TestCase, cwd_at
|
||||
from ..helpers import TestCase
|
||||
|
||||
|
||||
class MixinTestFullName(object):
|
||||
@@ -52,7 +52,7 @@ class TestFullNameWithGotoDefinitions(MixinTestFullName, TestCase):
|
||||
self.check("""
|
||||
import re
|
||||
any_re = re.compile('.*')
|
||||
any_re""", '_sre.SRE_Pattern')
|
||||
any_re""", 'typing.Pattern')
|
||||
|
||||
def test_from_import(self):
|
||||
self.check('from os import path', 'os.path')
|
||||
|
||||
Reference in New Issue
Block a user