MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / a_eq

Method a_eq

test/sql/test_query.py:297–301  ·  view source on GitHub ↗
(got, wanted)

Source from the content-addressed store, hash-verified

295 return str(sql.text(q).compile(dialect=dialect))
296
297 def a_eq(got, wanted):
298 if got != wanted:
299 print("Wanted %s" % wanted)
300 print("Received %s" % got)
301 self.assert_(got == wanted, got)
302
303 a_eq(prep("select foo"), "select foo")
304 a_eq(prep("time='12:30:00'"), "time='12:30:00'")

Callers

nothing calls this directly

Calls 3

eq_Function · 0.90
assert_Method · 0.45
executeMethod · 0.45

Tested by

no test coverage detected