PY-28341 Already used entries don't removed from completion list

Entries that were used in code remain in the completion list.
Return type of PyQualifiedReference updated to reflect the fact that it
returns PyTargetExpression's only.
This commit is contained in:
Anton Bragin
2018-04-10 14:16:53 +03:00
parent 1d0bb28d91
commit d2061e69f7
5 changed files with 22 additions and 15 deletions
@@ -1335,6 +1335,11 @@ public class PythonCompletionTest extends PyTestCase {
runWithLanguageLevel(LanguageLevel.PYTHON34, this::assertSingleVariantInExtendedCompletion);
}
// PY-28341
public void testCompletionForUsedAttribute() {
doMultiFileTest();
}
// PY-28103
public void testPrintFunctionWithoutFuture() {
final List<String> suggested = doTestByText("pr<caret>");