From 3955ca48624200cda0a8a66d92cbd5a24d6b1a05 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 12 Nov 2021 11:26:54 +0000 Subject: [PATCH] db: Remove unnecessary warning filters We've resolved these along the way. Change-Id: Ia08d46948ecd3cee301d39c86c47fab91e8b8fbb Signed-off-by: Stephen Finucane --- nova/tests/fixtures/nova.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/nova/tests/fixtures/nova.py b/nova/tests/fixtures/nova.py index 6e8dfebcb546..63fd49fe3c9d 100644 --- a/nova/tests/fixtures/nova.py +++ b/nova/tests/fixtures/nova.py @@ -835,12 +835,6 @@ class WarningsFixture(fixtures.Fixture): # ...but filter everything out until we get around to fixing them # TODO(stephenfin): Fix all of these - warnings.filterwarnings( - 'ignore', - module='nova', - message=r'The Engine.execute\(\) method is considered legacy', - category=sqla_exc.SADeprecationWarning) - warnings.filterwarnings( 'ignore', module='nova', @@ -853,12 +847,6 @@ class WarningsFixture(fixtures.Fixture): message=r'The Column.copy\(\) method is deprecated .*', category=sqla_exc.SADeprecationWarning) - warnings.filterwarnings( - 'ignore', - module='nova', - message=r'The .close\(\) method on a so-called .*', - category=sqla_exc.SADeprecationWarning) - warnings.filterwarnings( 'ignore', module='nova',