Skip to content

Commit

Permalink
Fixes pytest-dev#4064 by correcting the documentation for unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Palash Chatterjee committed Oct 3, 2018
1 parent 3f03625 commit 83dd52d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/en/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ Almost all ``unittest`` features are supported:

* ``@unittest.skip`` style decorators;
* ``setUp/tearDown``;
* ``setUpClass/tearDownClass()``;
* ``setUpClass/tearDownClass``;
* ``setUpModule/tearDownModule``;

.. _`load_tests protocol`: https://docs.python.org/3/library/unittest.html#load-tests-protocol
.. _`setUpModule/tearDownModule`: https://docs.python.org/3/library/unittest.html#setupmodule-and-teardownmodule
.. _`subtests`: https://docs.python.org/3/library/unittest.html#distinguishing-test-iterations-using-subtests

Up to this point pytest does not have support for the following features:

* `load_tests protocol`_;
* `setUpModule/tearDownModule`_;
* `subtests`_;

Benefits out of the box
Expand Down

0 comments on commit 83dd52d

Please sign in to comment.