tests/test_annotation.py
def verify_annotated_trees(self, ts1, ts2):
        '''
        Verify the *trees* returned before and after annotation are equal.
        '''
        assert ts1.num_trees == ts2.num_trees
        for t1, t2 in zip(ts1.trees(), ts2.trees()):
            assert t1.length == t2.length
            assert t1.get_parent_dict() == t2.get_parent_dict()
            assert t1.total_branch_length == t2.total_branch_length

        Verify the *trees* returned before and after annotation are equal.
        
Verify the *trees* returned before and after annotation are equal.
Verify the * trees * returned before and after annotation are equal .
def verify_annotated_trees(self, ts1, ts2):
        assert ts1.num_trees == ts2.num_trees
        for t1, t2 in zip(ts1.trees(), ts2.trees()):
            assert t1.length == t2.length
            assert t1.get_parent_dict() == t2.get_parent_dict()
            assert t1.total_branch_length == t2.total_branch_length
def verify_annotated_trees ( self , ts1 , ts2 ) : assert ts1 . num_trees == ts2 . num_trees for t1 , t2 in zip ( ts1 . trees ( ) , ts2 . trees ( ) ) : assert t1 . length == t2 . length assert t1 . get_parent_dict ( ) == t2 . get_parent_dict ( ) assert t1 . total_branch_length == t2 . total_branch_length
Verify the *trees* returned before and after annotation are equal.
Verify the * trees * returned before and after annotation are equal .
'''
        Verify the *trees* returned before and after annotation are equal.
        '''
self
ts1
ts2