def test_repr(self):
        """
        Altitudes report their type and value in their repr.
        """
        altitude = base.Altitude(1.)
        self.assertEqual(repr(altitude), "<Altitude (1.0 m)>")

        Altitudes report their type and value in their repr.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py