From 88e6fbb2e341657cb5365b9b78fb44e3c7065d2d Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 20 Feb 2015 13:24:29 -0500 Subject: [PATCH] Silenced a deprecation warning in commands_sql test. --- tests/commands_sql/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/commands_sql/tests.py b/tests/commands_sql/tests.py index 964f8a2dfe..28c584f03c 100644 --- a/tests/commands_sql/tests.py +++ b/tests/commands_sql/tests.py @@ -99,6 +99,7 @@ class TestRouter(object): @override_settings(DATABASE_ROUTERS=[TestRouter()]) class SQLCommandsRouterTestCase(TestCase): + @ignore_warnings(category=RemovedInDjango20Warning) def test_router_honored(self): app_config = apps.get_app_config('commands_sql') for sql_command in (sql_all, sql_create, sql_delete, sql_indexes, sql_destroy_indexes):