File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,11 @@ the general ``pytest`` documentation for many more examples.
3838 Running tests from ``unittest.TestCase `` subclasses with ``--pdb `` will
3939 disable tearDown and cleanup methods for the case that an Exception
4040 occurs. This allows proper post mortem debugging for all applications
41- which have significant logic in their tearDown machinery.
41+ which have significant logic in their tearDown machinery. However,
42+ supporting this feature has the following side effect: If people
43+ overwrite ``unittest.TestCase `` ``__call__ `` or ``run ``, they need to
44+ to overwrite ``debug `` in the same way (this is also true for standard
45+ unittest).
4246
4347Mixing pytest fixtures into unittest.TestCase style tests
4448-----------------------------------------------------------
You can’t perform that action at this time.
0 commit comments