def test_sign(self):
        """
        Setting the sign on a coordinate sets the sign of the value of the
        coordinate.
        """
        c = base.Coordinate(50., Angles.LATITUDE)
        c.setSign(1)
        self.assertEqual(c.inDecimalDegrees, 50.)
        c.setSign(-1)
        self.assertEqual(c.inDecimalDegrees, -50.)

        Setting the sign on a coordinate sets the sign of the value of the
        coordinate.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py