diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-01-19 08:35:16 +0100 |
---|---|---|
committer | Carlton Gibson <carlton@noumenal.es> | 2021-02-10 10:20:54 +0100 |
commit | ec0ff406311de88f4e2a135d784363424fe602aa (patch) | |
tree | c1659b85ea145704a1b733d40a6a9a45e9332d0f /tests/runtests.py | |
parent | 9c6ba876928fd20194ac3238dc06aeae66d7bd50 (diff) | |
download | django-ec0ff406311de88f4e2a135d784363424fe602aa.tar.gz |
Fixed #32355 -- Dropped support for Python 3.6 and 3.7
Diffstat (limited to 'tests/runtests.py')
-rwxr-xr-x | tests/runtests.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index 4cd16809c4..afdf68c21b 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -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() |