#31546: Replace Command.requires_system_checks = True by something like
Command.required_system_checks = '__all__'
-------------------------------------+-------------------------------------
     Reporter:  Hasan Ramezani       |                    Owner:  Hasan
         Type:                       |  Ramezani
  Cleanup/optimization               |                   Status:  closed
    Component:  Core (Management     |                  Version:  dev
  commands)                          |
     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 GitHub <noreply@…>):

 In [changeset:"829f4d1448f7b40238b47592fc17061bf77b0f23" 829f4d1]:
 {{{
 #!CommitTicketReference repository=""
 revision="829f4d1448f7b40238b47592fc17061bf77b0f23"
 Refs #31546, Refs #34118 -- Corrected
 CommandTests.test_requires_system_checks_specific().

 System checks are never called without skip_checks=False. Moreover,
 called_once_with() is not a proper assertion and raise AttributeError
 on Python 3.12.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31546#comment:10>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701859f1e5bdc-8ff9802c-e1c8-4c9c-99e5-65ed13b50a73-000000%40eu-central-1.amazonses.com.

Reply via email to