Let doctest skip random examples
@@ -26,6 +26,8 @@ def rand(*size, **kwarg):
.. admonition:: Example
+ .. code-block:: python
+
>>> cupy.random.rand(3, 2)
array([[0.86476479, 0.05633727], # random
[0.27283185, 0.38255354], # random
@@ -64,6 +66,8 @@ def randn(*size, **kwarg):
.. admonition:: Example
+ .. code-block:: python
+
>>> cupy.random.randn(3, 2)
array([[0.41193321, 1.59579542], # random
[0.47904589, 0.18566376], # random
