summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-07-24 11:27:26 -0400
committerTim Graham <timograham@gmail.com>2014-07-24 11:27:26 -0400
commit99cd80dc744226f44c492c3580276800eea23c0d (patch)
treef2b23f85285d74b797d5583e53fdf648fa864ced
parente01fa71142da45e8505b17b5574c9ec6a9d82914 (diff)
Silenced test warning for deprecated IPAddressField.
-rwxr-xr-xtests/runtests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index aa8313036c..857ea25f6a 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -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)