def METHOD_NAME(self):
    conn_params = self.conn_dict.copy()
    conn_params["allow_autapses"] = True
    conn_params["allow_multapses"] = True
    conn_params["indegree"] = self.C
    expected = connect_test_base.get_expected_degrees_fixedDegrees(self.C, "in", self.N_s, self.N_t)
    pvalues = []
    for i in range(self.stat_dict["n_runs"]):
        connect_test_base.reset_seed(i + 1, self.nr_threads)
        self.setUpNetwork(conn_dict=conn_params, N1=self.N_s, N2=self.N_t)
        degrees = connect_test_base.get_degrees("out", self.pop1, self.pop2)
        degrees = connect_test_base.gather_data(degrees)
        if degrees is not None:
            chi, p = connect_test_base.chi_squared_check(degrees, expected)
            pvalues.append(p)
        connect_test_base.mpi_barrier()
    if degrees is not None:
        ks, p = scipy.stats.kstest(pvalues, "uniform")
        self.assertGreater(p, self.stat_dict["alpha2"])