Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7d3cd commit e0e398eCopy full SHA for e0e398e
1 file changed
Doc/library/unittest.rst
@@ -1498,11 +1498,11 @@ Test cases
1498
after :meth:`setUpClass` if :meth:`setUpClass` raises an exception.
1499
1500
It is responsible for calling all the cleanup functions added by
1501
- :meth:`addCleanupClass`. If you need cleanup functions to be called
+ :meth:`addClassCleanup`. If you need cleanup functions to be called
1502
*prior* to :meth:`tearDownClass` then you can call
1503
- :meth:`doCleanupsClass` yourself.
+ :meth:`doClassCleanups` yourself.
1504
1505
- :meth:`doCleanupsClass` pops methods off the stack of cleanup
+ :meth:`doClassCleanups` pops methods off the stack of cleanup
1506
functions one at a time, so it can be called at any time.
1507
1508
.. versionadded:: 3.8
0 commit comments