#27390 closed Bug (invalid)
need modify `runtest.py` parts of the document
| Reported by: | Jeho, Sung | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | runtest.py |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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
Change History (2)
follow-up: 2 comment:1 by , 9 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 9 years ago
Replying to Tim Graham:
Based on the error, it looks like you missed this step:
pip install -e /path/to/your/local/clone/django/.
sorry, i missing that sequence.
thank you.
Note:
See TracTickets
for help on using tickets.
Based on the error, it looks like you missed this step:
pip install -e /path/to/your/local/clone/django/.