mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Fixed whitespace problems in completion tests
This commit is contained in:
@@ -278,10 +278,10 @@ def Recursion():
|
||||
self.a = self.a
|
||||
self.b = self.b.recurse()
|
||||
|
||||
#?
|
||||
#?
|
||||
Recursion().a
|
||||
|
||||
#?
|
||||
#?
|
||||
Recursion().b
|
||||
|
||||
# -----------------
|
||||
@@ -323,15 +323,15 @@ getattr(str(), 'upper')
|
||||
getattr(str, 'upper')
|
||||
|
||||
# some strange getattr calls
|
||||
#?
|
||||
#?
|
||||
getattr(str, 1)
|
||||
#?
|
||||
#?
|
||||
getattr()
|
||||
#?
|
||||
#?
|
||||
getattr(str)
|
||||
#?
|
||||
#?
|
||||
getattr(getattr, 1)
|
||||
#?
|
||||
#?
|
||||
getattr(str, [])
|
||||
|
||||
|
||||
@@ -374,7 +374,7 @@ class PrivateVar():
|
||||
self.__var
|
||||
#? []
|
||||
PrivateVar().__var
|
||||
#?
|
||||
#?
|
||||
PrivateVar().__var
|
||||
|
||||
# -----------------
|
||||
@@ -384,7 +384,7 @@ class Super(object):
|
||||
a = 3
|
||||
|
||||
class TestSuper(Super):
|
||||
#?
|
||||
#?
|
||||
super()
|
||||
def test(self):
|
||||
#? Super()
|
||||
@@ -395,7 +395,7 @@ class TestSuper(Super):
|
||||
#? Super()
|
||||
super()
|
||||
def a():
|
||||
#?
|
||||
#?
|
||||
super()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user