PY-16412 Add a test on absence of import for a class in the same module

This commit is contained in:
Mikhail Golubev
2018-02-05 21:41:59 +03:00
committed by Andrey Vlasovskikh
parent 352fc7fdc7
commit 7af0d59f92
3 changed files with 14 additions and 0 deletions
@@ -211,6 +211,10 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
doAnnotationTest();
}
public void testAnnotationSameModuleClassNotImported() {
doAnnotationTest();
}
private void doAnnotationTest() {
doTest(LanguageLevel.PYTHON36);
}