s/comparision/comparison/g [ci skip]
This commit is contained in:
parent
f7285b6ab2
commit
ab8907f6f5
|
@ -45,7 +45,7 @@ Deprecations
|
||||||
Users should just ``import pytest`` and access those objects using the ``pytest`` module.
|
Users should just ``import pytest`` and access those objects using the ``pytest`` module.
|
||||||
|
|
||||||
* ``request.cached_setup``, this was the precursor of the setup/teardown mechanism available to fixtures. You can
|
* ``request.cached_setup``, this was the precursor of the setup/teardown mechanism available to fixtures. You can
|
||||||
consult `funcarg comparision section in the docs <https://docs.pytest.org/en/latest/funcarg_compare.html>`_.
|
consult `funcarg comparison section in the docs <https://docs.pytest.org/en/latest/funcarg_compare.html>`_.
|
||||||
|
|
||||||
* Using objects named ``"Class"`` as a way to customize the type of nodes that are collected in ``Collector``
|
* Using objects named ``"Class"`` as a way to customize the type of nodes that are collected in ``Collector``
|
||||||
subclasses has been deprecated. Users instead should use ``pytest_collect_make_item`` to customize node types during
|
subclasses has been deprecated. Users instead should use ``pytest_collect_make_item`` to customize node types during
|
||||||
|
|
|
@ -56,7 +56,7 @@ This should be updated to make use of standard fixture mechanisms:
|
||||||
session.close()
|
session.close()
|
||||||
|
|
||||||
|
|
||||||
You can consult `funcarg comparision section in the docs <https://docs.pytest.org/en/latest/funcarg_compare.html>`_ for
|
You can consult `funcarg comparison section in the docs <https://docs.pytest.org/en/latest/funcarg_compare.html>`_ for
|
||||||
more information.
|
more information.
|
||||||
|
|
||||||
This has been documented as deprecated for years, but only now we are actually emitting deprecation warnings.
|
This has been documented as deprecated for years, but only now we are actually emitting deprecation warnings.
|
||||||
|
|
|
@ -279,7 +279,7 @@ class LogCaptureFixture(object):
|
||||||
Unlike 'records', which contains the format string and parameters for interpolation, log messages in this list
|
Unlike 'records', which contains the format string and parameters for interpolation, log messages in this list
|
||||||
are all interpolated.
|
are all interpolated.
|
||||||
Unlike 'text', which contains the output from the handler, log messages in this list are unadorned with
|
Unlike 'text', which contains the output from the handler, log messages in this list are unadorned with
|
||||||
levels, timestamps, etc, making exact comparisions more reliable.
|
levels, timestamps, etc, making exact comparisons more reliable.
|
||||||
|
|
||||||
Note that traceback or stack info (from :func:`logging.exception` or the `exc_info` or `stack_info` arguments
|
Note that traceback or stack info (from :func:`logging.exception` or the `exc_info` or `stack_info` arguments
|
||||||
to the logging functions) is not included, as this is added by the formatter in the handler.
|
to the logging functions) is not included, as this is added by the formatter in the handler.
|
||||||
|
|
Loading…
Reference in New Issue