def test_iter(self):
        "Iteration of NLMSA objects should return reasonable error."

        # try iterating over it
        try:
            for x in self.nlmsa:
                break                   # should fail before this

            assert 0, "should not be able to iterate over NLMSA"
        except __HOLE__:
            pass
dataset/ETHPy150Open cjlee112/pygr/tests/nlmsa_test.py/NLMSA_Test.test_iter