Merge branch 'python-fixes'

This commit is contained in:
Andrey Vlasovskikh
2014-11-14 20:02:48 +03:00
4 changed files with 24 additions and 0 deletions
@@ -0,0 +1,12 @@
from pkg1 import C
def foo():
"""
:rtype: pkg1.C
"""
return C(0)
obj = foo()
obj.bar
@@ -0,0 +1,6 @@
class C(object):
def __init__(self, bar):
"""
:param int bar: Some parameter
"""
self.bar = bar
@@ -410,6 +410,11 @@ public class PyUnresolvedReferencesInspectionTest extends PyInspectionTestCase {
myFixture.checkHighlighting(isWarning(), isInfo(), isWeakWarning());
}
// PY-13554
public void testDocstringTypeFromSubModule() {
doMultiFileTest();
}
@NotNull
@Override
protected Class<? extends PyInspection> getInspectionClass() {