(self)
| 3177 | |
| 3178 | class GenericReprTest(fixtures.TestBase): |
| 3179 | def test_all_positional(self): |
| 3180 | class Foo: |
| 3181 | def __init__(self, a, b, c): |
| 3182 | self.a = a |
| 3183 | self.b = b |
| 3184 | self.c = c |
| 3185 | |
| 3186 | eq_(util.generic_repr(Foo(1, 2, 3)), "Foo(1, 2, 3)") |
| 3187 | |
| 3188 | def test_positional_plus_kw(self): |
| 3189 | class Foo: |