1
0
forked from VimPlug/jedi

Get compiled name working a bit better with stubs

This commit is contained in:
Dave Halter
2018-09-04 01:51:02 +02:00
parent 6036ea60d1
commit 74db580671
2 changed files with 33 additions and 23 deletions

View File

@@ -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')