(self)
| 3101 | eq_(util.generic_repr(Foo(1, 2, 3, 6)), "Foo(1, 2, c=3, d=6)") |
| 3102 | |
| 3103 | def test_kw_defaults(self): |
| 3104 | class Foo: |
| 3105 | def __init__(self, a=1, b=2, c=3, d=4): |
| 3106 | self.a = a |
| 3107 | self.b = b |
| 3108 | self.c = c |
| 3109 | self.d = d |
| 3110 | |
| 3111 | eq_(util.generic_repr(Foo(1, 5, 3, 7)), "Foo(b=5, d=7)") |
| 3112 | |
| 3113 | def test_multi_kw(self): |
| 3114 | class Foo: |