'Helper function for verifying that bad values raise C{ValueError}.
@param kw: The keyword arguments passed to L{base.Heading.fromFloats}.'

def _badValueTest(self, **kw):

    self.assertRaises(ValueError, base.Heading.fromFloats, **kw)
