code: def test_point_format(self):
      point = Point("51 19m 12.9s N, 0 1m 24.95s E")
      self.assertEqual(point.format(), "51 19m 12.9s N, 0 1m 24.95s E")
  
      point = Point("51 19m 12.9s N, -1 1m 24.95s E, 15000m")
      self.assertEqual(
          point.format(), "51 19m 12.9s N, 1 1m 24.95s W, 15.0km"
      )
  
      # TODO
      # point = Point("51 19m 12.9s N, -0 1m 24.95s E")
      # self.assertEqual(point.format(), "51 19m 12.9s N, 0 1m 24.95s W")
  
      # TODO
      # with self.assertRaises(ValueError):
      #     # Z is not a valid direction
      #     Point("51 19m 12.9s Z, 0 1m 24.95s E")
  
      with self.assertRaises(ValueError):
          Point("gibberish")
  
      with self.assertRaises(ValueError):
          # It could be interpreted as `Point(75, 5)`.
          Point("75 5th Avenue, NYC, USA")
  
imports: import math
  import pickle
  import sys
  import unittest
  import warnings
  from geopy.point import Point
label_desc: Use image node_id 4 for calling the PointTestCase obj's underlying member method code with example usage: obj.test_point_format() without return types