forked from VimPlug/jedi
Revert changes to test/completion and test/static_analysis except for 2.6 comment removal
This commit is contained in:
@@ -23,9 +23,9 @@ a(0):.
|
||||
# if/else/elif
|
||||
# -----------------
|
||||
|
||||
if random.choice([0, 1]):
|
||||
if (random.choice([0, 1])):
|
||||
1
|
||||
elif random.choice([0, 1]):
|
||||
elif(random.choice([0, 1])):
|
||||
a = 3
|
||||
else:
|
||||
a = ''
|
||||
@@ -34,7 +34,7 @@ a
|
||||
def func():
|
||||
if random.choice([0, 1]):
|
||||
1
|
||||
elif random.choice([0, 1]):
|
||||
elif(random.choice([0, 1])):
|
||||
a = 3
|
||||
else:
|
||||
a = ''
|
||||
@@ -187,7 +187,7 @@ some_word
|
||||
# -----------------
|
||||
|
||||
class A(object): pass
|
||||
class B: pass
|
||||
class B(): pass
|
||||
|
||||
#? ['__init__']
|
||||
A.__init__
|
||||
@@ -201,7 +201,7 @@ int().__init__
|
||||
# comments
|
||||
# -----------------
|
||||
|
||||
class A:
|
||||
class A():
|
||||
def __init__(self):
|
||||
self.hello = {} # comment shouldn't be a string
|
||||
#? dict()
|
||||
|
||||
Reference in New Issue
Block a user