def test_annotations_insert(self):

        for idx,node in \
                enumerate([self.traj] + [node for node in self.traj.f_iter_nodes(recursive=True)]):
            for name in self.annotations:
                anno = self.annotations[name]
                node_anno = node.v_annotations[name]
                self.assertTrue(comp.nested_equal(anno, node_anno),
                                                  '%s != %s' % (str(anno), str(node_anno)))
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/tests/unittests/annotations_test.py/AnnotationsTest.test_annotations_insert/original