def METHOD_NAME(self):
    got_error = False
    conn_params = self.conn_dict.copy()
    conn_params["allow_autapses"] = True
    conn_params["allow_multapses"] = False
    conn_params["N"] = self.N1 * self.N2 + 1
    try:
        self.setUpNetwork(conn_params)
    except nest.kernel.NESTError:
        got_error = True
    self.assertTrue(got_error)