MCPcopy Index your code
hub / github.com/zzzeek/sqlalchemy / test_bindparam_subclass_nocache

Method test_bindparam_subclass_nocache

test/sql/test_compare.py:1403–1409  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1401 )
1402
1403 def test_bindparam_subclass_nocache(self):
1404 # does not implement inherit_cache
1405 class _literal_bindparam(BindParameter):
1406 pass
1407
1408 l1 = _literal_bindparam(None, value="x1")
1409 is_(l1._generate_cache_key(), None)
1410
1411 def test_bindparam_subclass_ok_cache(self):
1412 # implements inherit_cache

Callers

nothing calls this directly

Calls 3

is_Function · 0.90
_literal_bindparamClass · 0.85
_generate_cache_keyMethod · 0.45

Tested by

no test coverage detected