

def test_ties(self):
    exp = pd.Series(index=self.exp_index, data=['ANOSIM', 'R', 4, 2, 0.25, 0.671, 999], name='ANOSIM results')
    for _ in range(2):
        np.random.seed(0)
        obs = anosim(self.dm_ties, self.grouping_equal)
        self.assert_series_equal(obs, exp)
    for _ in range(2):
        np.random.seed(0)
        obs = anosim(self.dm_ties, self.df, column='Group')
        self.assert_series_equal(obs, exp)

dataset/ETHPy150Open biocore/scikit-bio/skbio/stats/distance/tests/test_anosim.py TestANOSIM.test_ties/original