mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test for 'attributes assigned nearby' logic in completion
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Foo:
|
||||
pass
|
||||
|
||||
def bar():
|
||||
x = Foo()
|
||||
x.shazam = 1
|
||||
print x.shazam
|
||||
@@ -0,0 +1,7 @@
|
||||
class Foo:
|
||||
pass
|
||||
|
||||
def bar():
|
||||
x = Foo()
|
||||
x.shazam = 1
|
||||
print x.sh<caret>
|
||||
@@ -483,4 +483,8 @@ public class PythonCompletionTest extends PyTestCase {
|
||||
public void testImportKeyword() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testAssignedNearby() {
|
||||
doTest();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user