TestFun/SVasi1yev
TestFun/lngsv
f1class Tester:f1class Tester:
22
n3    def __init__(self, fun):n3    def __init__(self, foo):
4        self.fun = fun4        self.foo = foo
55
n6    def __call__(self, suite, allowed=()):n6    def __call__(self, suite, allowed=[]):
7        res = 07        res = 0
8        for s in suite:8        for s in suite:
9            try:9            try:
n10                self.fun(*s)n10                self.foo(*s)
11            except tuple(allowed) as e:11            except tuple(allowed) as e:
12                res = -112                res = -1
t13            except Exception as e:t13            except Exception:
14                return 114                return 1
15        return res15        return res
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op