def run_test_midpoint():
    ' Tests the   midpoint   method of the Line class. '
    m1t.run_test_midpoint()
    p1 = Point(3, 10)
    p2 = Point(9, 20)
    line1 = Line(p1, p2)
    print(line1.midpoint())
    print('The above should print:  Point(6, 15)')
Tests the   midpoint   method of the Line class.
def run_test_midpoint():
    '  '
    m1t.run_test_midpoint()
    p1 = Point(3, 10)
    p2 = Point(9, 20)
    line1 = Line(p1, p2)
    print(line1.midpoint())
    print('The above should print:  Point(6, 15)')