mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite.
Thanks Claude Paroz for assistance with debugging the tests.
This commit is contained in:
@@ -221,6 +221,11 @@ def django_tests(verbosity, interactive, failfast, test_labels):
|
||||
"use '<app_label>/sql' instead.",
|
||||
RemovedInDjango19Warning
|
||||
)
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'initial_data fixtures are deprecated. Use data migrations instead.',
|
||||
RemovedInDjango19Warning
|
||||
)
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'IPAddressField has been deprecated. Use GenericIPAddressField instead.',
|
||||
|
||||
Reference in New Issue
Block a user