Home | History | Annotate | Download | only in test

Lines Matching refs:mycoll

53         def mycoll(x, y):
58 con.create_collation("mycoll", mycoll)
66 ) order by x collate mycoll
72 con.create_collation("mycoll", None)
77 self.assertEqual(e.args[0].lower(), "no such collation sequence: mycoll")
80 def mycoll(x, y):
84 con.create_collation("mycoll", mycoll)
92 ) order by x collate mycoll
104 con.create_collation("mycoll", cmp)
105 con.create_collation("mycoll", lambda x, y: -cmp(x, y))
107 select x from (select 'a' as x union select 'b' as x) order by x collate mycoll
118 con.create_collation("mycoll", cmp)
119 con.create_collation("mycoll", None)
121 con.execute("select 'a' as x union select 'b' as x order by x collate mycoll")