diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2019-07-02 16:44:41 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2019-07-02 16:44:41 +0200 |
commit | 4053866fb2003d6a84353f6a7b209418608c25eb (patch) | |
tree | 387a454400c3c853a2b2d12fb51b725ce105a7c2 /ot/utils.py | |
parent | ef00ce42616fe7adf747c23a5590a83b62171a36 (diff) | |
parent | 8b3927bb5e8935c3dbddf054f054dc0c036fbdfe (diff) |
Merge branch 'master' into doc_modules
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 ---------- |