MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_str

Method test_str

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

Source from the content-addressed store, hash-verified

2361class TestCacheKeyUtil(fixtures.TestBase):
2362
2363 def test_str(self):
2364 eq_(
2365 re.compile(r"[\n\s]+", re.M).sub(
2366 " ",
2367 str(
2368 CacheKey(
2369 key=((1, (2, 7, 4), 5),), bindparams=[], params={}
2370 )
2371 ),
2372 ),
2373 "CacheKey(key=( ( 1, ( 2, 7, 4, ), 5, ), ),)",
2374 )
2375
2376 def test_nested_tuple_difference(self):
2377 """Test difference detection in nested tuples"""

Callers

nothing calls this directly

Calls 4

eq_Function · 0.90
CacheKeyClass · 0.90
subMethod · 0.80
compileMethod · 0.45

Tested by

no test coverage detected