MCPcopy
hub / github.com/zzzeek/sqlalchemy / eq_

Function eq_

lib/sqlalchemy/testing/assertions.py:290–292  ·  view source on GitHub ↗

Assert a == b, with repr messaging on failure.

(a, b, msg=None)

Source from the content-addressed store, hash-verified

288
289
290def eq_(a, b, msg=None):
291 """Assert a == b, with repr messaging on failure."""
292 assert a == b, msg or "%r != %r" % (a, b)
293
294
295def ne_(a, b, msg=None):

Callers 15

test_insertMethod · 0.90
test_col_targetingMethod · 0.90
test_reflectMethod · 0.90
test_reprMethod · 0.90
test_basicMethod · 0.90
test_update_rowcount2Method · 0.90
test_raw_sql_rowcountMethod · 0.90
test_text_rowcountMethod · 0.90
test_delete_rowcountMethod · 0.90

Calls

no outgoing calls

Tested by 15

test_insertMethod · 0.72
test_col_targetingMethod · 0.72
test_reflectMethod · 0.72
test_reprMethod · 0.72
test_basicMethod · 0.72
test_update_rowcount2Method · 0.72
test_raw_sql_rowcountMethod · 0.72
test_text_rowcountMethod · 0.72
test_delete_rowcountMethod · 0.72