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

Method test_row_is_hashable

test/sql/test_resultset.py:1921–1923  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1919 eq_(list(row._mapping), ["a", "b", "count"])
1920
1921 def test_row_is_hashable(self):
1922 row = Row(object(), [None, None, None], {}, (1, "value", "foo"))
1923 eq_(hash(row), hash((1, "value", "foo")))
1924
1925 @testing.provide_metadata
1926 def test_row_getitem_indexes_compiled(self, connection):

Callers

nothing calls this directly

Calls 2

RowClass · 0.90
eq_Function · 0.90

Tested by

no test coverage detected