File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 from django .test .runner import get_max_test_processes , parallel_type
2929 from django .test .selenium import SeleniumTestCase , SeleniumTestCaseBase
3030 from django .test .utils import NullTimeKeeper , TimeKeeper , get_runner
31- from django .utils .deprecation import RemovedInDjango70Warning
31+ from django .utils .deprecation import (
32+ RemovedAfterNextVersionWarning ,
33+ RemovedInNextVersionWarning ,
34+ )
3235 from django .utils .functional import classproperty
3336 from django .utils .log import DEFAULT_LOGGING
3437 from django .utils .version import PYPY
4346 warnings .filterwarnings ("ignore" , r"\(1003, *" , category = MySQLdb .Warning )
4447
4548# Make deprecation warnings errors to ensure no usage of deprecated features.
46- warnings .simplefilter ("error" , RemovedInDjango70Warning )
49+ warnings .simplefilter ("error" , RemovedInNextVersionWarning )
50+ warnings .simplefilter ("error" , RemovedAfterNextVersionWarning )
4751# Make resource and runtime warning errors to ensure no usage of error prone
4852# patterns.
4953warnings .simplefilter ("error" , ResourceWarning )
You can’t perform that action at this time.
0 commit comments