'Test basic assertWarns report.'

def test_assertWarns(self):

    def deprecated(a):
        warnings.warn('Woo    deprecated', category=DeprecationWarning)
        return a
    r = self.assertWarns(DeprecationWarning, 'Woo    deprecated', __file__, deprecated, 123)
    self.assertEqual(r, 123)
