Skip to content

Commit 52b974a

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "db: Remove unnecessary warning filters"
2 parents 5c7fa6d + 3955ca4 commit 52b974a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

nova/tests/fixtures/nova.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -836,12 +836,6 @@ def setUp(self):
836836
# ...but filter everything out until we get around to fixing them
837837
# TODO(stephenfin): Fix all of these
838838

839-
warnings.filterwarnings(
840-
'ignore',
841-
module='nova',
842-
message=r'The Engine.execute\(\) method is considered legacy',
843-
category=sqla_exc.SADeprecationWarning)
844-
845839
warnings.filterwarnings(
846840
'ignore',
847841
module='nova',
@@ -854,12 +848,6 @@ def setUp(self):
854848
message=r'The Column.copy\(\) method is deprecated .*',
855849
category=sqla_exc.SADeprecationWarning)
856850

857-
warnings.filterwarnings(
858-
'ignore',
859-
module='nova',
860-
message=r'The .close\(\) method on a so-called .*',
861-
category=sqla_exc.SADeprecationWarning)
862-
863851
warnings.filterwarnings(
864852
'ignore',
865853
module='nova',

0 commit comments

Comments
 (0)