summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
authorRĂ©mi Flamary <remi.flamary@gmail.com>2019-07-02 16:42:26 +0200
committerGitHub <noreply@github.com>2019-07-02 16:42:26 +0200
commit8b3927bb5e8935c3dbddf054f054dc0c036fbdfe (patch)
treed2eecc0bb96d5937d30e43993a732ae32eec3438 /ot/utils.py
parenta9b8af146648ee2ae50baf46e69e6281f6b279e4 (diff)
parent5b6eb56f2d4bfdaeaa45970c386c42c21d7d1caf (diff)
Merge pull request #90 from rtavenar/dev-doctests
[MRG] Have Travis actually execute doctests
Diffstat (limited to 'ot/utils.py')
-rw-r--r--ot/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ot/utils.py b/ot/utils.py
index efd1288..f21ceb9 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -285,9 +285,9 @@ class deprecated(object):
The optional extra argument will be appended to the deprecation message
and the docstring. Note: to use this with the default value for extra, put
in an empty of parentheses:
- >>> from ot.deprecation import deprecated
- >>> @deprecated()
- ... def some_function(): pass
+ >>> from ot.deprecation import deprecated # doctest: +SKIP
+ >>> @deprecated() # doctest: +SKIP
+ ... def some_function(): pass # doctest: +SKIP
Parameters
----------