def test_ties_with_gaps(self):
        msa = TabularMSA([DNA('-'),
                          DNA('.'),
                          DNA('T'),
                          DNA('T')])

        cons = msa.consensus()

        self.assertTrue(cons in [DNA('T'), DNA('-')])
dataset/ETHPy150Open biocore/scikit-bio/skbio/alignment/tests/test_tabular_msa.py/TestConsensus.test_ties_with_gaps/original