Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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)

comment:1 by Tim Graham, 8 years ago

Resolution: invalid
Status: newclosed

Based on the error, it looks like you missed this step: pip install -e /path/to/your/local/clone/django/.

in reply to:  1 comment:2 by Jeho, Sung, 8 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/.

yes, there are several solutions. but- nothing on document.
check document and follow that sequence.

Version 0, edited 8 years ago by Jeho, Sung (next)
Note: See TracTickets for help on using tickets.
Back to Top