mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 23:04:48 +08:00
Python 2 test fixes
This commit is contained in:
@@ -382,6 +382,7 @@ getattr(getattr, 1)
|
|||||||
getattr(str, [])
|
getattr(str, [])
|
||||||
|
|
||||||
|
|
||||||
|
# python >= 3.5
|
||||||
class Base():
|
class Base():
|
||||||
def ret(self, b):
|
def ret(self, b):
|
||||||
return b
|
return b
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class Sub(Super):
|
|||||||
#! 4 ['def func']
|
#! 4 ['def func']
|
||||||
func = 3
|
func = 3
|
||||||
#! 12 ['def func']
|
#! 12 ['def func']
|
||||||
class func(): ...
|
class func(): pass
|
||||||
|
|
||||||
#! 8 ['class Inner']
|
#! 8 ['class Inner']
|
||||||
def Inner(self): ...
|
def Inner(self): pass
|
||||||
|
|||||||
Reference in New Issue
Block a user