MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_all_positional

Method test_all_positional

test/base/test_utils.py:3084–3091  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3082
3083class GenericReprTest(fixtures.TestBase):
3084 def test_all_positional(self):
3085 class Foo:
3086 def __init__(self, a, b, c):
3087 self.a = a
3088 self.b = b
3089 self.c = c
3090
3091 eq_(util.generic_repr(Foo(1, 2, 3)), "Foo(1, 2, 3)")
3092
3093 def test_positional_plus_kw(self):
3094 class Foo:

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
FooClass · 0.70

Tested by

no test coverage detected