Python 2 test fixes

This commit is contained in:
Dave Halter
2019-12-24 19:52:44 +01:00
parent 6daa03e98d
commit 7a988d9d8b
2 changed files with 3 additions and 2 deletions

View File

@@ -382,6 +382,7 @@ getattr(getattr, 1)
getattr(str, [])
# python >= 3.5
class Base():
def ret(self, b):
return b

View File

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