(self)
| 3186 | eq_(util.generic_repr(Foo(1, 2, 3)), "Foo(1, 2, 3)") |
| 3187 | |
| 3188 | def test_positional_plus_kw(self): |
| 3189 | class Foo: |
| 3190 | def __init__(self, a, b, c=5, d=4): |
| 3191 | self.a = a |
| 3192 | self.b = b |
| 3193 | self.c = c |
| 3194 | self.d = d |
| 3195 | |
| 3196 | eq_(util.generic_repr(Foo(1, 2, 3, 6)), "Foo(1, 2, c=3, d=6)") |
| 3197 | |
| 3198 | def test_kw_defaults(self): |
| 3199 | class Foo: |