def METHOD_NAME(self):
    """A test for the boxing logic on unknown type
    """
    Dummy = self.Dummy
    @njit
    def foo(x):
        return Dummy(x)
    with self.assertRaises(TypeError) as raises:
        foo(123)
    self.assertIn("cannot convert native Dummy to Python object",
                  str(raises.exception))