diff --git a/test/completion/classes.py b/test/completion/classes.py index b2c44820..04298aa3 100644 --- a/test/completion/classes.py +++ b/test/completion/classes.py @@ -382,6 +382,7 @@ getattr(getattr, 1) getattr(str, []) +# python >= 3.5 class Base(): def ret(self, b): return b diff --git a/test/completion/inheritance.py b/test/completion/inheritance.py index d2b5de6f..73e3ed92 100644 --- a/test/completion/inheritance.py +++ b/test/completion/inheritance.py @@ -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