Add docs for missing argument
@@ -443,6 +443,12 @@ def numpy_cupy_raises(name='xp', sp_name=None, accept_error=Exception):
sp_name(str or None): Argument name whose value is either
``scipy.sparse`` or ``cupy.sparse`` module. If ``None``, no
argument is given for the modules.
+ accept_error(bool, Exception or tuple of Exception): Specify
+ acceptable errors. When both NumPy test and CuPy test raises the
+ same type of errors, and the type of the errors is specified with
+ this argument, the errors are ignored and not raised.
+ If it is ``True`` all error types are acceptable.
+ If it is ``False`` no error is acceptable.
Decorated test fixture is required throw same errors
even if ``xp`` is ``numpy`` or ``cupy``.
