From d216ab331a38c5ac056377268f64f0e8dee5030b Mon Sep 17 00:00:00 2001 From: David Halter Date: Fri, 6 Sep 2013 15:09:12 +0430 Subject: [PATCH] also add a test for class execution, which still fails due to another bug, that has been (almost) fixed lately, fixes #305 --- test/completion/goto.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/test/completion/goto.py b/test/completion/goto.py index 7e3fcacf..49e383f1 100644 --- a/test/completion/goto.py +++ b/test/completion/goto.py @@ -76,11 +76,20 @@ c #! 0 ['def c'] c() -class BeforeAssignment(): + +class ClassVar(): x = 3 -#! 18 ['x = 3'] -BeforeAssignment.x = '' +#! ['x = 3'] +ClassVar.x +#! ['x = 3'] +ClassVar().x + +# before assignments +#! 10 ['x = 3'] +ClassVar.x = '' +#! 12 ['x = 3'] +ClassVar().x = '' # ----------------- # imports