MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_not_instantiatable

Method test_not_instantiatable

test/orm/test_utils.py:212–219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 )
211
212 def test_not_instantiatable(self):
213 class Point:
214 pass
215
216 self._fixture(Point)
217 alias = aliased(Point)
218
219 assert_raises(TypeError, alias)
220
221 def test_instancemethod(self):
222 class Point:

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
aliasedFunction · 0.90
assert_raisesFunction · 0.90

Tested by

no test coverage detected