From 0f8e8c86ddcb09c4fb1941d4e1076b0716352828 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 24 Jul 2014 11:27:26 -0400 Subject: [PATCH] [1.7.x] Silenced test warning for deprecated IPAddressField. Backport of 99cd80dc74 from master --- tests/runtests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/runtests.py b/tests/runtests.py index 87b7c3ea65e..20f393ee3d9 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -238,6 +238,11 @@ def django_tests(verbosity, interactive, failfast, test_labels): "use '/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)