MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_set_get

Method test_set_get

test/ext/test_hybrid.py:626–632  ·  view source on GitHub ↗
(self, use_inplace, use_classmethod)

Source from the content-addressed store, hash-verified

624 @testing.variation("use_inplace", [True, False])
625 @testing.variation("use_classmethod", [True, False])
626 def test_set_get(self, use_inplace, use_classmethod):
627 A = self._fixture(
628 use_inplace=use_inplace, use_classmethod=use_classmethod
629 )
630 a1 = A(value=5)
631 eq_(a1._value, 10)
632 eq_(a1.value, 5)
633
634 @testing.variation("use_inplace", [True, False])
635 @testing.variation("use_classmethod", [True, False])

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
eq_Function · 0.90
AClass · 0.70

Tested by

no test coverage detected