def test_poses6(self):
        tol = 0.001
        target_angle = math.pi - tol
        expected_result = [(0, 3)]
        # Result should be unaffected by global transformation.
        for poses in (POSES_6, POSES_6_TRANSFORMED):
            id_pairs = filters.filter_pairs_by_angle(poses, target_angle, tol,
                                                     all_pairs=False)
            self.assertEqual(id_pairs, expected_result)