Home
last modified time | relevance | path

Searched refs:mycoll (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Lib/test/test_sqlite3/
H A Dtest_hooks.py54 mycoll = lambda x, y: -((x > y) - (x < y))
55 con.create_collation(BadUpperStr("mycoll"), mycoll)
61 ) order by x collate mycoll
67 def mycoll(x, y): function
72 con.create_collation("mycoll", mycoll)
80 ) order by x collate mycoll
86 con.create_collation("mycoll", None)
89 self.assertEqual(str(cm.exception), 'no such collation sequence: mycoll')
92 def mycoll(x, y): global() function
[all...]

Completed in 1 milliseconds