(self)
| 3154 | ) |
| 3155 | |
| 3156 | def test_discard_vargs(self): |
| 3157 | class Foo: |
| 3158 | def __init__(self, a, b, *args): |
| 3159 | self.a = a |
| 3160 | self.b = b |
| 3161 | self.c, self.d = args[0:2] |
| 3162 | |
| 3163 | eq_(util.generic_repr(Foo(1, 2, 3, 4)), "Foo(1, 2)") |
| 3164 | |
| 3165 | def test_discard_vargs_kwargs(self): |
| 3166 | class Foo: |