#27079: Refactor LiveServerPort tests to not make extra calls to setUpClass() 
and
tearDownClass()
-------------------------------------+-------------------------------------
     Reporter:  Chris Jerdonek       |                    Owner:  Jacob
         Type:                       |  Walls
  Cleanup/optimization               |                   Status:  closed
    Component:  Testing framework    |                  Version:  1.10
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

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

 In [changeset:"534895f1ace819053f28463fd62b833ba2ced829" 534895f]:
 {{{
 #!CommitTicketReference repository=""
 revision="534895f1ace819053f28463fd62b833ba2ced829"
 [4.0.x] Fixed thread termination in servers.tests.LiveServerPort on Python
 < 3.10.9.

 TestCase.doClassCleanups() cannot be called on Python < 3.10.9 because
 setUpClass()/tearDownClass() are called multiple times in
 LiveServerTestCase tests (refs #27079).
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/27079#comment:14>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070186120c4c99-b8ee5bb5-cef5-4800-97ac-8c3caf7de1f4-000000%40eu-central-1.amazonses.com.

Reply via email to