'Check error reporting when implementation signature doesn\'t match
generating function signature.'

def test_signature_errors(self):

    f = generated_jit(nopython=True)(bad_generated_usecase)
    with self.assertRaises(TypeError) as raises:
        f(1j)
    self.assertIn("should    be    compatible    with    signature    '(x,    y=5)',    but    has    signature    '(x)'", str(raises.exception))
    with self.assertRaises(TypeError) as raises:
        f(1)
    self.assertIn("should    be    compatible    with    signature    '(x,    y=5)',    but    has    signature    '(x,    y=6)'", str(raises.exception))
