[1.7.x] Silenced test warning for deprecated IPAddressField.
Backport of 99cd80dc74
from master
This commit is contained in:
parent
b159b55997
commit
0f8e8c86dd
|
@ -238,6 +238,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…
Reference in New Issue