#16196: Redundant or incorrect code in tests
----------------------------------+-------------------------------
 Reporter:  intelliyole           |          Owner:  nobody
     Type:  Cleanup/optimization  |         Status:  new
Milestone:                        |      Component:  Uncategorized
  Version:  1.3                   |       Severity:  Normal
 Keywords:                        |   Triage Stage:  Unreviewed
Has patch:  1                     |  Easy pickings:  0
    UI/UX:  0                     |
----------------------------------+-------------------------------
 Ran a static analysis tool on Django tests, found and fixed several
 classes of issues:
 - Unnecessary semicolons
 - Unnecessary backslashes
 - Duplicate keys in dictionaries containing testdata (sometimes causing
 testcases present in the code to be missed)
 - One case of incorrectly inserted line break preventing the execution of
 an assertion

 Attached patch fixing the issues.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16196>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to