Skip to content

Commit c605cf9

Browse files
committed
Merge pull request pytest-dev#909 from flub/assertdoc
Update docs to represent reality
2 parents 0b83b40 + b097d8c commit c605cf9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/en/assert.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,7 @@ Reporting details about a failing assertion is achieved either by rewriting
228228
assert statements before they are run or re-evaluating the assert expression and
229229
recording the intermediate values. Which technique is used depends on the
230230
location of the assert, ``pytest`` configuration, and Python version being used
231-
to run ``pytest``. Note that for assert statements with a manually provided
232-
message, i.e. ``assert expr, message``, no assertion introspection takes place
233-
and the manually provided message will be rendered in tracebacks.
231+
to run ``pytest``.
234232

235233
By default, if the Python version is greater than or equal to 2.6, ``pytest``
236234
rewrites assert statements in test modules. Rewritten assert statements put

0 commit comments

Comments
 (0)