'test dict escaping'

def test_dict(self):

    conn = self.connections[0]
    c = conn.cursor()
    c.execute('create    table    test_dict    (a    integer,    b    integer,    c    integer)')
    try:
        c.execute('insert    into    test_dict    (a,b,c)    values    (%(a)s,    %(b)s,    %(c)s)', {'a': 1, 'b': 2, 'c': 3})
        c.execute('select    a,b,c    from    test_dict')
        self.assertEqual((1, 2, 3), c.fetchone())
    finally:
        c.execute('drop    table    test_dict')
