summaryrefslogtreecommitdiff
path: root/tests/runtests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-03 18:02:59 -0500
committerTim Graham <timograham@gmail.com>2015-02-03 18:30:46 -0500
commitc0cc8f69e7abfa8578729031f97ae4b96c5cdafe (patch)
tree7d8530b7e682abda046cbd7015816d1cb5c19b24 /tests/runtests.py
parent65e005f8cd9c656e558e53e6c8b890cd0fcc9e74 (diff)
downloaddjango-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-xtests/runtests.py1
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',