Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.db.atnt
Commits
20ae5a77
Commit
20ae5a77
authored
May 09, 2017
by
André Anjos
💬
Browse files
Correctly use ellipsis on doctest
parent
d5db90ce
Pipeline
#9054
passed with stages
in 15 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/guide.rst
View file @
20ae5a77
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment