def test_iter(self):

        # 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 NotImplementedError:
            pass
Iteration of NLMSA objects should return reasonable error.
dataset/ETHPy150Open cjlee112/pygr/tests/nlmsa_test.py/NLMSA_Test.test_iter