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.
38
38
Running tests from ``unittest.TestCase `` subclasses with ``--pdb `` will
39
39
disable tearDown and cleanup methods for the case that an Exception
40
40
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).
42
46
43
47
Mixing pytest fixtures into unittest.TestCase style tests
44
48
-----------------------------------------------------------
You can’t perform that action at this time.
0 commit comments