def test_equality(self):
        """
        Altitudes with equal values compare equal.
        """
        firstAltitude = base.Altitude(1.)
        secondAltitude = base.Altitude(1.)
        self.assertEqual(firstAltitude, secondAltitude)

        Altitudes with equal values compare equal.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py