#26022: Use the context manager version of assertRaises decorators where
appropriate
-------------------------------------+-------------------------------------
     Reporter:  Hasan Ramezani       |                    Owner:  Hasan
         Type:                       |  Ramezani
  Cleanup/optimization               |                   Status:  closed
    Component:  Testing framework    |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"5627057f63f30bda6bbef7e8169c2a6156542f90" 5627057f]:
 {{{
 #!CommitTicketReference repository=""
 revision="5627057f63f30bda6bbef7e8169c2a6156542f90"
 Refs #26022 -- Used context manager version of assertRaisesMessage in
 tests.

 Follow up to 253adc2b8a52982139d40c4f55b3fd446e1cb8f3.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/26022#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.67c820fe0a2ecc4dd25fd428d8b4af7e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to