

def test_no_permutations(self):
    exp = pd.Series(index=self.exp_index, data=['ANOSIM', 'R', 4, 2, 0.625, np.nan, 0], name='ANOSIM results')
    obs = anosim(self.dm_no_ties, self.grouping_equal, permutations=0)
    self.assert_series_equal(obs, exp)

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