#23768: Rewrite template_tag.tests.TemplateTests as individual test cases
--------------------------------------+------------------------------------
Reporter: prestontimmons | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Template system | Version: master
Severity: Normal | Resolution:
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 berkerpeksag):
> 2) I added a warnings filter for the url tag tests to the setup
function. Is this done right? I'm not too familiar with how warnings work.
Code LGTM. Just one nitpick: You could use
`warnings.simplefilter("ignore", ...)` if you don't planning to pass a
`message` parameter to `warnings.filterwarnings`.
--
Ticket URL: <https://code.djangoproject.com/ticket/23768#comment:11>
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.b2ccd4a9af3236c5ee8e97110508ad08%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.