diff options
author | maskypy40 <60002142+maskypy40@users.noreply.github.com> | 2021-02-17 09:33:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 09:33:04 +0100 |
commit | 532543b4ef0d35eeac9e8c04a937ab7190ae5988 (patch) | |
tree | 9e52a267dd5fbc1519e941e7e5b0e35888e5b57e | |
parent | ab2eb94054a92d5ed0daf40675032201b60035f4 (diff) | |
download | pytest-532543b4ef0d35eeac9e8c04a937ab7190ae5988.tar.gz |
Remove empty lines from code-block
In assert.rst at line 175 and further there is an example of an assert encountering comparisons. The code-block for this example starts with a comment (line 177) and then it has 2 empty lines. Comparing this example code (test_assert2.py) with the previously mentioned example code on the same page (i.e. test_assert1.py) you can see that there should not be 2 empty lines after the comment. These 2 empty lines are removed.
-rw-r--r-- | doc/en/assert.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/en/assert.rst b/doc/en/assert.rst index b83e30e76..e6a23bcf3 100644 --- a/doc/en/assert.rst +++ b/doc/en/assert.rst @@ -175,8 +175,6 @@ when it encounters comparisons. For example: .. code-block:: python # content of test_assert2.py - - def test_set_comparison(): set1 = set("1308") set2 = set("8035") |