1
0
forked from VimPlug/jedi

Revert changes to test/completion and test/static_analysis except for 2.6 comment removal

This commit is contained in:
Hugo
2018-01-07 10:33:24 +02:00
parent 3e8cd9f128
commit 7e449af4bd
32 changed files with 99 additions and 99 deletions

View File

@@ -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()