#15896: unittest docs say import django.utils, should be djanto.test
--------------------------------------+-------------------------------
               Reporter:  RoySmith    |          Owner:  nobody
                   Type:  Bug         |         Status:  closed
              Milestone:              |      Component:  Documentation
                Version:  1.3         |       Severity:  Normal
             Resolution:  invalid     |       Keywords:
           Triage Stage:  Unreviewed  |      Has patch:  0
    Needs documentation:  0           |    Needs tests:  0
Patch needs improvement:  0           |  Easy pickings:  1
--------------------------------------+-------------------------------
Changes (by jonash):

 * status:  reopened => closed
 * resolution:   => invalid


Comment:

 It's a different thing. `django.utils.unittest` is a copy of the
 `unittest2` package for Python < 2.7. `django.test` holds Django's special
 testsuite helpers.

 In most cases you don't need to import anything from
 `django.utils.unittest`. It's just some kind of warning to prevent you
 from using `import unittest`.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15896#comment:3>
Django <http://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