diff --git a/lit-test/test/inferencer/class.py b/lit-test/test/inferencer/class.py index db8ddd27c..1249474a0 100644 --- a/lit-test/test/inferencer/class.py +++ b/lit-test/test/inferencer/class.py @@ -8,12 +8,12 @@ class c: def m(self): pass -# CHECK-L: c:NoneType delay('b), m: (self:)->NoneType delay('c)}> c # CHECK-L: .a:int(width='a) c.a -# CHECK-L: .f:()->NoneType +# CHECK-L: .f:()->NoneType delay('b) c.f -# CHECK-L: .m:method(fn=(self:)->NoneType, self=) +# CHECK-L: .m:method(fn=(self:)->NoneType delay('c), self=) c().m() diff --git a/lit-test/test/inferencer/error_method.py b/lit-test/test/inferencer/error_method.py index bf9f87b86..cb4f77075 100644 --- a/lit-test/test/inferencer/error_method.py +++ b/lit-test/test/inferencer/error_method.py @@ -8,7 +8,7 @@ class c: def g(self): pass -# CHECK-L: ${LINE:+1}: error: function 'f()->NoneType' of class 'c' cannot accept a self argument +# CHECK-L: ${LINE:+1}: error: function 'f()->NoneType delay('a)' of class 'c' cannot accept a self argument c().f() c.g(1)