mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Silenced test warning for deprecated IPAddressField.
This commit is contained in:
parent
e01fa71142
commit
99cd80dc74
1 changed files with 5 additions and 0 deletions
|
@ -221,6 +221,11 @@ def django_tests(verbosity, interactive, failfast, test_labels):
|
|||
"use '<app_label>/sql' instead.",
|
||||
RemovedInDjango19Warning
|
||||
)
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'IPAddressField has been deprecated. Use GenericIPAddressField instead.',
|
||||
RemovedInDjango19Warning
|
||||
)
|
||||
failures = test_runner.run_tests(
|
||||
test_labels or get_installed(), extra_tests=extra_tests)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue