You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog/1367.feature.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
**Support for subtests** has been added.
2
2
3
-
:ref:`subtests <subtests>` are an alternative to parametrization, useful in situations where test setup is expensive or the parametrization values are not all known at collection time.
3
+
:ref:`subtests <subtests>` are an alternative to parametrization, useful in situations where the parametrization values are not all known at collection time.
Copy file name to clipboardExpand all lines: doc/en/how-to/subtests.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ How to use subtests
11
11
12
12
pytest allows for grouping assertions within a normal test, known as *subtests*.
13
13
14
-
Subtests are an alternative to parametrization, particularly useful when test setup is expensive or when the exact parametrization values are not known at collection time.
14
+
Subtests are an alternative to parametrization, particularly useful when the exact parametrization values are not known at collection time.
15
15
16
16
17
17
.. code-block:: python
@@ -55,11 +55,11 @@ outside the ``subtests.test`` block:
55
55
Typing
56
56
------
57
57
58
-
:class:`pytest.SubTests` is exported so it can be used in type annotations:
58
+
:class:`pytest.Subtests` is exported so it can be used in type annotations:
0 commit comments