mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #30116 -- Dropped support for Python 3.5.
This commit is contained in:
parent
5a5c77d55d
commit
7e6b214ed3
23 changed files with 25 additions and 141 deletions
|
@ -32,7 +32,6 @@ from django.db.migrations.recorder import MigrationRecorder
|
|||
from django.test import (
|
||||
LiveServerTestCase, SimpleTestCase, TestCase, override_settings,
|
||||
)
|
||||
from django.utils.version import PY36
|
||||
|
||||
custom_templates_dir = os.path.join(os.path.dirname(__file__), 'custom_templates')
|
||||
|
||||
|
@ -1145,7 +1144,7 @@ class ManageCheck(AdminScriptTestCase):
|
|||
args = ['check']
|
||||
out, err = self.run_manage(args)
|
||||
self.assertNoOutput(out)
|
||||
self.assertOutput(err, 'ModuleNotFoundError' if PY36 else 'ImportError')
|
||||
self.assertOutput(err, 'ModuleNotFoundError')
|
||||
self.assertOutput(err, 'No module named')
|
||||
self.assertOutput(err, 'admin_scriptz')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue