TestFun/uvostr
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
6    def __call__(self, suite, allowed=[]):6    def __call__(self, suite, allowed=[]):
n7        exception = 0n7        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):11            except tuple(allowed) as e:
12                exception = -112                res = -1
13                continue
14            except Exception:13            except Exception:
15                return 114                return 1
t16        return exceptiont15        return res
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op