Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent 956970d commit 2df75b9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,7 @@ typically find tests wrapped in a class.

.. code-block:: python
class TestReallyCoolFeature:
...
class TestReallyCoolFeature: ...
Going forward, we are moving to a more *functional* style using the
`pytest <http://doc.pytest.org/en/latest/>`__ framework, which offers a richer
Expand All @@ -680,8 +679,7 @@ writing test classes, we will write test functions like this:

.. code-block:: python
def test_really_cool_feature():
...
def test_really_cool_feature(): ...
Using ``pytest``
~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 2df75b9

Please sign in to comment.