def METHOD_NAME(self):
    conn_params = self.conn_dict.copy()
    N = 3
    conn_params["allow_autapses"] = True
    # test that no multapses exist
    conn_params["indegree"] = N
    conn_params["allow_multapses"] = False
    pop = nest.Create("iaf_psc_alpha", N)
    nest.Connect(pop, pop, conn_params)
    M = connect_test_base.get_connectivity_matrix(pop, pop)
    M = connect_test_base.gather_data(M)
    if M is not None:
        self.assertTrue(M.flatten, np.ones(N * N))