def test_unicode_named_parameter_binding(self):
    values = [u'ᚱ', 'foo', 3]
    keys = [u'ᚠ', 'foo', 3]
    query = u'SELECT {0}'.format(', '.join([u':{0}'.format(key) for key in keys]))
    with self._connect() as conn:
        cur = conn.cursor()
        cur.execute(query, dict(zip(keys, values)))
        results = cur.fetchone()
    for (val, res) in zip(values, results):
        self.assertResultEqual(val, res)
def test_unicode_named_parameter_binding(self):
    values = [u'ᚱ', 'foo', 3]
    keys = [u'ᚠ', 'foo', 3]
    query = u'SELECT {0}'.format(', '.join([u':{0}'.format(key) for key in keys]))
    with self._connect() as conn:
        cur = conn.cursor()
        cur.execute(query, dict(zip(keys, values)))
        results = cur.fetchone()
    for (val, res) in zip(values, results):
        self.assertResultEqual(val, res)