Skip to content

Commit cab2f65

Browse files
committed
Merge branch 'fix-typos' into develop
2 parents ebb19e2 + 4d6ac1c commit cab2f65

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

doc/src/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Consider the following example test module:
1818

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

doc/src/scope.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ or `'class'`.
1616
versions, all dependencies were implicitly in module scope.
1717

1818

19-
Explicitely specifying the scope
20-
--------------------------------
19+
Explicitly specifying the scope
20+
-------------------------------
2121

2222
The default value for the `scope` argument is `'module'`. Thus, the
2323
very first example from Section :ref:`usage-basic` could also be

doc/src/usage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test, we will get the following result:
2121
.. literalinclude:: ../examples/basic.out
2222

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

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

5555
.. literalinclude:: ../examples/named.py
5656

@@ -94,7 +94,7 @@ Marking dependencies at runtime
9494
-------------------------------
9595

9696
Sometimes, dependencies of test instances are too complicated to be
97-
formulated explicitely beforehand using the
97+
formulated explicitly beforehand using the
9898
:func:`pytest.mark.dependency` marker. It may be easier to compile
9999
the list of dependencies of a test at run time. In such cases, the
100100
function :func:`pytest_dependency.depends` comes handy. Consider the

tests/test_03_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_e(self):
4747

4848
def test_class_simple_named(ctestdir):
4949
"""Mostly the same as test_class_simple(), but name the test methods
50-
now explicitely.
50+
now explicitly.
5151
"""
5252
ctestdir.makepyfile("""
5353
import pytest

tests/test_03_scope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
def test_scope_module(ctestdir):
8-
"""One single module, module scope is explicitely set in the
8+
"""One single module, module scope is explicitly set in the
99
pytest.mark.dependency() marker.
1010
"""
1111
ctestdir.makepyfile("""
@@ -379,7 +379,7 @@ def test_o(self):
379379
""")
380380

381381
def test_scope_named(ctestdir):
382-
"""Explicitely named tests are always referenced by that name,
382+
"""Explicitly named tests are always referenced by that name,
383383
regardless of the scope.
384384
"""
385385
ctestdir.makepyfile("""

tests/test_09_examples_scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def test_scope_module(ctestdir):
10-
"""Explicitely specifying the scope
10+
"""Explicitly specifying the scope
1111
"""
1212
with get_example("scope_module.py").open("rt") as f:
1313
ctestdir.makepyfile(f.read())

0 commit comments

Comments
 (0)