#NEWLINE# def numpy_cupy_array_less( err_msg = '' , verbose = True , name = 'xp' , type_check = True , accept_error = True ) : #NEWLINE# #INDENT# 'Decorator that checks the CuPy result is less than NumPy result.\n\n    Args:\n         err_msg(str): The error message to be printed in case of failure.\n         verbose(bool): If ``True``, the conflicting values are\n             appended to the error message.\n         name(str): Argument name whose value is either\n             ``numpy`` or ``cupy`` module.\n         type_check(bool): If ``True``, consistency of dtype is also checked.\n         accept_error(bool): If ``True``, errors are not raised as long as\n             the errors occurred are identical between NumPy and CuPy.\n\n    Decorated test fixture is required to return the smaller array\n    when ``xp`` is ``cupy`` than the one when ``xp`` is ``numpy``.\n\n    .. seealso:: :func:`cupy.testing.assert_array_less`\n    ' #NEWLINE# def check_func( x , y ) : #NEWLINE# #INDENT# array . assert_array_less ( x , y , err_msg , verbose ) #NEWLINE# #UNINDENT# return _make_decorator ( check_func , name , type_check , name )