def METHOD_NAME(self):
    match_text = "The asymptotic approximation will be used"
    with pytest.warns(UserWarning, match=match_text):
        statistic, pval, _ = ddm.distance_covariance_test(
            self.x, self.y, method="emp", B=200
        )
        assert_almost_equal(statistic, self.test_stat_emp_exp, 0)
        assert_almost_equal(pval, self.pval_asym_exp, 3)