Commit 20ae5a77 authored by André Anjos's avatar André Anjos 💬
Browse files

Correctly use ellipsis on doctest

parent d5db90ce
Pipeline #9054 passed with stages
in 15 minutes and 29 seconds
......@@ -77,9 +77,9 @@ point to their relative location w.r.t. a database root directory:
>>> f = db.objects()[0]
>>> type(f) #doctest: +ELLIPSIS
<class 'bob.db.atnt.models.File'>
<... 'bob.db.atnt.models.File'>
>>> f.path # doctest: +ELLIPSIS
's1/9'
'...'
You may use the method :py:meth:`bob.db.atnt.File.make_path` to construct paths
......@@ -108,7 +108,7 @@ using the :py:meth:`bob.db.atnt.File.load` method:
>>> image = f.load()
>>> type(image) #doctest: +ELLIPSIS
<class 'numpy.ndarray'>
<... 'numpy.ndarray'>
>>> image.shape
(112, 92)
>>> image.dtype
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment