MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_nondeletable

Method test_nondeletable

test/ext/test_hybrid.py:768–773  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

766 )
767
768 def test_nondeletable(self):
769 A = self._fixture(False)
770 a1 = A(_value=5)
771 assert_raises_message(
772 AttributeError, "can't delete attribute", delattr, a1, "value"
773 )
774
775 def test_set_get(self):
776 A = self._fixture(True)

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
assert_raises_messageFunction · 0.90
AClass · 0.70

Tested by

no test coverage detected