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

Method test_a_to_b_aliased

test/aaa_profiling/test_orm.py:943–953  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

941 go()
942
943 def test_a_to_b_aliased(self):
944 A, B = self.classes("A", "B")
945
946 a1 = aliased(A)
947
948 # uses aliasing, therefore adaption which is expensive
949 @profiling.function_call_count(times=50, warmup=1)
950 def go():
951 orm_join(a1, B, a1.b)
952
953 go()
954
955 def test_a_to_b_aliased_select_join(self):
956 A, B = self.classes("A", "B")

Callers

nothing calls this directly

Calls 2

aliasedFunction · 0.90
goFunction · 0.70

Tested by

no test coverage detected