diff options
author | Romain Tavenard <romain.tavenard@univ-rennes2.fr> | 2019-07-01 12:16:04 +0200 |
---|---|---|
committer | Romain Tavenard <romain.tavenard@univ-rennes2.fr> | 2019-07-01 12:16:04 +0200 |
commit | 1fe13ed9cdda363c95c84f95fc70dcd95ac276f1 (patch) | |
tree | 92b91c79dcaa38748da1a750ab60d5ff81fbbb4c /ot/utils.py | |
parent | b05d315b0994d328029d4a4fc082f6994e7f06d1 (diff) |
Fixed 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 ---------- |