diff --git a/doc/guide.rst b/doc/guide.rst index 08c3d62696b489f18b746294a885d520637f8cb1..0c20a86418a07a15a83a09467ae05ded6ba94987 100644 --- a/doc/guide.rst +++ b/doc/guide.rst @@ -336,10 +336,8 @@ this with the :py:meth:`bob.io.base.File.read` method: .. doctest:: >>> array = a.read() - >>> array - array([[ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.], - [ 0., 2., 4., 6., 8., 10., 12., 14., 16., 18.], - [ 0., 3., 6., 9., 12., 15., 18., 21., 24., 27.]]) + >>> numpy.allclose(array, [[ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.],[ 0., 2., 4., 6., 8., 10., 12., 14., 16., 18.],[ 0., 3., 6., 9., 12., 15., 18., 21., 24., 27.]]) + True Every time you say :py:meth:`bob.io.base.File.read`, the file contents will be read from the file and into a new array.