diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2019-07-02 16:42:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 16:42:26 +0200 |
commit | 8b3927bb5e8935c3dbddf054f054dc0c036fbdfe (patch) | |
tree | d2eecc0bb96d5937d30e43993a732ae32eec3438 /ot/utils.py | |
parent | a9b8af146648ee2ae50baf46e69e6281f6b279e4 (diff) | |
parent | 5b6eb56f2d4bfdaeaa45970c386c42c21d7d1caf (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.py | 6 |
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 ---------- |