def test_correctedHeadingUnderflow(self):
        """
        A heading with a value and a variation has the appropriate corrected
        heading value, even when the variation puts it under the 0 degree
        boundary.
        """
        h = base.Heading.fromFloats(1., variationValue=2.)
        self.assertEqual(h.correctedHeading, base.Angle(359., Angles.HEADING))

        A heading with a value and a variation has the appropriate corrected
        heading value, even when the variation puts it under the 0 degree
        boundary.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py