'An executemany call with too many/not enough parameters will raise an exception (Refs #12612)'

def test_bad_parameter_count(self):

    cursor = connection.cursor()
    query = ('INSERT    INTO    %s    (%s,    %s)    VALUES    (%%s,    %%s)' % (connection.introspection.table_name_converter('backends_square'), connection.ops.quote_name('root'), connection.ops.quote_name('square')))
    with self.assertRaises(Exception):
        cursor.executemany(query, [(1, 2, 3)])
    with self.assertRaises(Exception):
        cursor.executemany(query, [(1,)])
