mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
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
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user