mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #32355 -- Dropped support for Python 3.6 and 3.7
This commit is contained in:
parent
9c6ba87692
commit
ec0ff40631
33 changed files with 59 additions and 274 deletions
|
@ -28,7 +28,6 @@ else:
|
|||
RemovedInDjango41Warning, RemovedInDjango50Warning,
|
||||
)
|
||||
from django.utils.log import DEFAULT_LOGGING
|
||||
from django.utils.version import PY37
|
||||
|
||||
try:
|
||||
import MySQLdb
|
||||
|
@ -521,14 +520,13 @@ if __name__ == "__main__":
|
|||
'--timing', action='store_true',
|
||||
help='Output timings, including database set up and total run time.',
|
||||
)
|
||||
if PY37:
|
||||
parser.add_argument(
|
||||
'-k', dest='test_name_patterns', action='append',
|
||||
help=(
|
||||
'Only run test methods and classes matching test name pattern. '
|
||||
'Same as unittest -k option. Can be used multiple times.'
|
||||
),
|
||||
)
|
||||
parser.add_argument(
|
||||
'-k', dest='test_name_patterns', action='append',
|
||||
help=(
|
||||
'Only run test methods and classes matching test name pattern. '
|
||||
'Same as unittest -k option. Can be used multiple times.'
|
||||
),
|
||||
)
|
||||
|
||||
options = parser.parse_args()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue