Skip to content

Commit

Permalink
Merge branch 'fix-typos' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Feb 17, 2022
2 parents ebb19e2 + 4d6ac1c commit cab2f65
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/src/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Consider the following example test module:

In principle, this example works the very same way as the basic
example for :ref:`usage-parametrized`. The only difference is that
the lists of paramters are dynamically compiled beforehand. The test
the lists of parameters are dynamically compiled beforehand. The test
for child `l` deliberately fails, just to show the effect. As a
consequence, the test for its parent `d` will be skipped.

Expand Down
4 changes: 2 additions & 2 deletions doc/src/scope.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ or `'class'`.
versions, all dependencies were implicitly in module scope.


Explicitely specifying the scope
--------------------------------
Explicitly specifying the scope
-------------------------------

The default value for the `scope` argument is `'module'`. Thus, the
very first example from Section :ref:`usage-basic` could also be
Expand Down
6 changes: 3 additions & 3 deletions doc/src/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test, we will get the following result:
.. literalinclude:: ../examples/basic.out

The first test has deliberately been set to fail to illustrate the
effect. We will get the following resuts:
effect. We will get the following results:

`test_a`
deliberately fails.
Expand Down Expand Up @@ -50,7 +50,7 @@ see Section :ref:`names` for details. In some cases, it's not easy to
predict the names of the node ids. For this reason, the name of the
tests can be overridden by an explicit `name` argument to the marker.
The names must be unique. The following example works exactly as the
last one, only the test names are explicitely set:
last one, only the test names are explicitly set:

.. literalinclude:: ../examples/named.py

Expand Down Expand Up @@ -94,7 +94,7 @@ Marking dependencies at runtime
-------------------------------

Sometimes, dependencies of test instances are too complicated to be
formulated explicitely beforehand using the
formulated explicitly beforehand using the
:func:`pytest.mark.dependency` marker. It may be easier to compile
the list of dependencies of a test at run time. In such cases, the
function :func:`pytest_dependency.depends` comes handy. Consider the
Expand Down
2 changes: 1 addition & 1 deletion tests/test_03_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_e(self):

def test_class_simple_named(ctestdir):
"""Mostly the same as test_class_simple(), but name the test methods
now explicitely.
now explicitly.
"""
ctestdir.makepyfile("""
import pytest
Expand Down
4 changes: 2 additions & 2 deletions tests/test_03_scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def test_scope_module(ctestdir):
"""One single module, module scope is explicitely set in the
"""One single module, module scope is explicitly set in the
pytest.mark.dependency() marker.
"""
ctestdir.makepyfile("""
Expand Down Expand Up @@ -379,7 +379,7 @@ def test_o(self):
""")

def test_scope_named(ctestdir):
"""Explicitely named tests are always referenced by that name,
"""Explicitly named tests are always referenced by that name,
regardless of the scope.
"""
ctestdir.makepyfile("""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_09_examples_scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def test_scope_module(ctestdir):
"""Explicitely specifying the scope
"""Explicitly specifying the scope
"""
with get_example("scope_module.py").open("rt") as f:
ctestdir.makepyfile(f.read())
Expand Down

0 comments on commit cab2f65

Please sign in to comment.