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