Total Complexity | 6 |
Total Lines | 18 |
Duplicated Lines | 0 % |
1 | def target(): |
||
15 | class Stuff(object): |
||
16 | def __init__(self, *args): |
||
17 | if args == ('error',): |
||
18 | raise ValueError |
||
19 | self.args = args |
||
20 | |||
21 | def meth(self): |
||
22 | pass |
||
23 | |||
24 | def mix(self, *args): |
||
25 | self.meth() |
||
26 | return getattr(self, 'args', ()) + args |
||
27 | |||
28 | def raises(self, *a): |
||
29 | raise ValueError(a) |
||
30 | |||
31 | def other(self, *args): |
||
32 | return ThatLONGStuf(*self.args + args) |
||
33 | |||
37 |