def test_headingWithVariationRepr(self):
        """
        A repr of a heading with known variation reports its value and the
        value of that variation.
        """
        angle, variation = 1.0, -10.0
        heading = base.Heading.fromFloats(angle, variationValue=variation)
        reprTemplate = '<Heading ({0} degrees, <Variation ({1} degrees)>)>'
        self.assertEqual(repr(heading), reprTemplate.format(angle, variation))

        A repr of a heading with known variation reports its value and the
        value of that variation.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py