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

Method test_slice_access

test/base/test_result.py:62–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 eq_(keyed_tuple[-2:-1], (1,))
61
62 def test_slice_access(self):
63 keyed_tuple = self._fixture([1, 2], ["a", "b"])
64 eq_(keyed_tuple[0:2], (1, 2))
65
66 def test_slices_arent_in_mappings(self):
67 keyed_tuple = self._fixture([1, 2], ["a", "b"])

Callers

nothing calls this directly

Calls 2

_fixtureMethod · 0.95
eq_Function · 0.90

Tested by

no test coverage detected