'test binary data'

def test_blob(self):

    data = bytes((bytearray(range(256)) * 4))
    conn = self.connections[0]
    self.safe_create_table(conn, 'test_blob', 'create    table    test_blob    (b    blob)')
    with conn.cursor() as c:
        c.execute('insert    into    test_blob    (b)    values    (%s)', (data,))
        c.execute('select    b    from    test_blob')
        self.assertEqual(data, c.fetchone()[0])
