Apply suggestions from code review

Co-Authored-By: tkf <takafumi.a@gmail.com>
This commit is contained in:
Daniel Hahler 2019-03-15 11:29:16 +09:00 committed by GitHub
parent 62f96eea6b
commit 57be1d60dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Doctest can be now skipped dynamically with `pytest.skip`. Doctests can be skipped now dynamically using ``pytest.skip()``.

View File

@ -81,7 +81,7 @@ def skip(msg="", **kwargs):
This function should be called only during testing (setup, call or teardown) or This function should be called only during testing (setup, call or teardown) or
during collection by using the ``allow_module_level`` flag. This function can during collection by using the ``allow_module_level`` flag. This function can
be called in doctest as well. be called in doctests as well.
:kwarg bool allow_module_level: allows this function to be called at :kwarg bool allow_module_level: allows this function to be called at
module level, skipping the rest of the module. Default to False. module level, skipping the rest of the module. Default to False.