Fixed #35622 -- Made unittest ignore Django assertions in traceback frames.

Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
This commit is contained in:
Adam Johnson 2024-07-22 11:19:00 +01:00 committed by nessita
parent e1606d27b4
commit 9582745257
6 changed files with 42 additions and 1 deletions

View file

@ -240,7 +240,9 @@ Templates
Tests
~~~~~
* ...
* Stack frames from Django's custom assertions are now hidden. This makes test
failures easier to read and enables :option:`test --pdb` to directly enter
into the failing test method.
URLs
~~~~