def METHOD_NAME(self):
    """Check toShape for linear edges with set z"""
    edges = [e for e in vd.Edges if e.Color == 0 and e.isLinear()]
    self.assertNotEqual(len(edges), 0)
    e0 = edges[0]
    e = e0.toShape(13.7)
    self.assertTrue(type(e.Curve) == Part.LineSegment or type(e.Curve) == Part.Line)
    self.assertFalse(
        Path.Geom.pointsCoincide(
            e.valueAt(e.FirstParameter), e.valueAt(e.LastParameter)
        )
    )
    self.assertRoughly(e.valueAt(e.FirstParameter).z, 13.7)
    self.assertRoughly(e.valueAt(e.LastParameter).z, 13.7)