From 3fb12b74d640039e42cce354444d2b3c26c81c1c Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 17 Nov 2015 01:04:08 +0300 Subject: [PATCH] lit-test: update to follow IR serialization changes. --- lit-test/test/inferencer/class.py | 6 +++--- lit-test/test/inferencer/error_method.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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)