#27390: need modify `runtest.py` parts of the document
-------------------------------+------------------------
Reporter: Jeho, Sung | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords: runtest.py
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------
see `intro/contributing/#running-django-s-test-suite-for-the-first-time`
> Now we are ready to run the test suite. If you’re using GNU/Linux, Mac
OS X or some other flavor of Unix, run:
> $ ./runtests.py
If follow this command, then you'll see:
{{{
(django-devel) jehos@class:/tmp/django/tests⟫ ./runtests.py
Traceback (most recent call last):
File "./runtests.py", line 22, in <module>
from django.utils.deprecation import (
ImportError: cannot import name 'RemovedInDjango21Warning'
}}}
It should be changed as follows.
`$ PYTHONPATH=..:$PYTHONPATH ./runtests.py`
--
Ticket URL: <https://code.djangoproject.com/ticket/27390>
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/048.17a1a5fdd91718219be97c60d920cee2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.