code: def test_point_format_altitude(self):
      point = Point(latitude=41.5, longitude=81.0, altitude=2.5)
      self.assertEqual(point.format(), "41 30m 0s N, 81 0m 0s E, 2.5km")
      self.assertEqual(point.format_decimal(), "41.5, 81.0, 2.5km")
      self.assertEqual(point.format_decimal("m"), "41.5, 81.0, 2500.0m")
  
      point = Point(latitude=41.5, longitude=81.0)
      self.assertEqual(point.format_decimal(), "41.5, 81.0")
      self.assertEqual(point.format_decimal("m"), "41.5, 81.0, 0.0m")
  
imports: import math
  import pickle
  import sys
  import unittest
  import warnings
  from geopy.point import Point
label_desc: Use image node_id 6 for calling the PointTestCase obj's underlying member method code with example usage: obj.test_point_format_altitude() without return types