remove implicit code tags .replace("::\n\n.. code-block", "\n\n.. code-block")

This commit is contained in:
boris
2019-08-06 15:46:57 -07:00
parent 5f95dce956
commit 9fce0bdd88
23 changed files with 95 additions and 95 deletions

View File

@@ -191,7 +191,7 @@ namespace in which your doctests run. It is intended to be used within
your own fixtures to provide the tests that use them with context.
``doctest_namespace`` is a standard ``dict`` object into which you
place the objects you want to appear in the doctest namespace::
place the objects you want to appear in the doctest namespace
.. code-block:: python
@@ -203,7 +203,7 @@ place the objects you want to appear in the doctest namespace::
def add_np(doctest_namespace):
doctest_namespace["np"] = numpy
which can then be used in your doctests directly::
which can then be used in your doctests directly
.. code-block:: python
@@ -225,7 +225,7 @@ Skipping tests dynamically
.. versionadded:: 4.4
You can use ``pytest.skip`` to dynamically skip doctests. For example::
You can use ``pytest.skip`` to dynamically skip doctests. For example
.. code-block:: text