1
0
mirror of https://github.com/django/django.git synced 2025-01-30 12:09:25 +00:00
Tim Graham 3e24ab6f4c [1.8.x] Refactored tests that rely on an ImportError for Python 3.5 compatibility
A change in Python test discovery [1] causes the old packages that raised
an error to be discovered; now we use a common directory that's
ignored during discovery. Refs #23763.

[1] http://bugs.python.org/issue7559

Backport of c0cc8f69e7abfa8578729031f97ae4b96c5cdafe from master
2015-02-03 18:31:17 -05:00
..
2013-12-24 12:25:17 +01:00
2014-08-18 13:44:10 -04:00
2013-11-02 23:50:49 -05:00
2014-12-06 12:06:06 -05:00
2013-12-24 12:25:17 +01:00
2013-02-26 10:00:14 +01:00

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.