#20349: Don't load django.test when not testing
--------------------------------------+------------------------------------
Reporter: CollinAnderson | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):
* needs_docs: 0 => 1
* version: 1.5 => master
* needs_tests: 1 => 0
Comment:
For documentation, I think we could say "You can also import this signal
from django.core.signals to avoid importing from django.test in non-test
situations." After all, user code may have the same issue as Django's test
suite.
--
Ticket URL: <https://code.djangoproject.com/ticket/20349#comment:12>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.9e6474b1102aa140960e533eb9292ef9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.