diff options
author | Tim Graham <timograham@gmail.com> | 2015-02-03 18:02:59 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-02-03 18:30:46 -0500 |
commit | c0cc8f69e7abfa8578729031f97ae4b96c5cdafe (patch) | |
tree | 7d8530b7e682abda046cbd7015816d1cb5c19b24 /tests/runtests.py | |
parent | 65e005f8cd9c656e558e53e6c8b890cd0fcc9e74 (diff) | |
download | django-c0cc8f69e7abfa8578729031f97ae4b96c5cdafe.tar.gz |
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
Diffstat (limited to 'tests/runtests.py')
-rwxr-xr-x | tests/runtests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index e232da9c63..e3e118c908 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -35,6 +35,7 @@ os.environ['DJANGO_TEST_TEMP_DIR'] = TEMP_DIR SUBDIRS_TO_SKIP = [ 'data', + 'import_error_package', 'test_discovery_sample', 'test_discovery_sample2', 'test_runner_deprecation_app', |