def test_nominal_association(self):

        statistic = np.asarray(self.chi2_contribs).sum()
        df = np.prod(np.asarray(self.table.shape) - 1)
        pvalue = 1 - stats.chi2.cdf(statistic, df)
        b = _Bunch()
        b.statistic = statistic
        b.df = df
        b.pvalue = pvalue
        return b
Raises an exception if the lock has been deleted.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/stats/contingency_tables.py/Table.test_nominal_association--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/locking.py/SharedLock.__check_deleted