Make python-latest project descriptor default in tests

Update test data and reduce manual language level setup

GitOrigin-RevId: d6ddec1b2b29a2b7f1a34cfb5982fd975de78d65
This commit is contained in:
Semyon Proshev
2021-03-15 17:33:04 +00:00
committed by intellij-monorepo-bot
parent f247cfde52
commit 56a1c00c2a
177 changed files with 1118 additions and 1508 deletions
@@ -1,6 +1,6 @@
class A:
def m<caret>(self):
print 1
print(1)
b = A()
a = b.m()
@@ -1,5 +1,5 @@
def m():
print 1
print(1)
class A:
@@ -1,5 +1,5 @@
class A:
def m<caret>(self, x):
print 1
print(1)
A.m(A(), 1)
@@ -1,5 +1,5 @@
def m(x):
print 1
print(1)
class A:
@@ -3,4 +3,4 @@ class A():
self.method2()
def metho<caret>d2(self):
print 1
print(1)
@@ -1,5 +1,5 @@
def method2():
print 1
print(1)
class A():
@@ -3,4 +3,4 @@ class A:
return x
print A.m(A(), 1)
print(A.m(A(), 1))
@@ -4,4 +4,4 @@ class A:
return x
print A.m(1)
print(A.m(1))
@@ -1,5 +1,5 @@
def f1(a, u<caret>p, c):
print a
print c
print(a)
print(c)
f1(1, 2, 3)
@@ -1,5 +1,5 @@
def f1(a, c):
print a
print c
print(a)
print(c)
f1(1, 3)
@@ -1,4 +1,4 @@
class B(object):
def __init__(self): # error
print ""
print("")
<warning descr="Cannot return a value from __init__">return <caret>1</warning>
@@ -1,3 +1,3 @@
class B(object):
def __init__(self): # error
print ""
print("")