Skip to content

Commit bcfd2ca

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove the last reference to OsloDBDeprecationWarning"
2 parents 7a21722 + a2ccf99 commit bcfd2ca

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

glance/tests/unit/fixtures.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import warnings
1919

2020
import fixtures as pyfixtures
21-
from oslo_db import warning as oslo_db_warning
2221
from sqlalchemy import exc as sqla_exc
2322

2423
_TRUE_VALUES = ('True', 'true', '1', 'yes')
@@ -147,16 +146,6 @@ def setUp(self):
147146
category=DeprecationWarning,
148147
)
149148

150-
# Disable deprecation warning for oslo.db's EngineFacade. We *really*
151-
# need to get off this but it's not happening while sqlalchemy 2.0
152-
# stuff is ongoing
153-
154-
warnings.filterwarnings(
155-
'ignore',
156-
category=oslo_db_warning.OsloDBDeprecationWarning,
157-
message='EngineFacade is deprecated',
158-
)
159-
160149
# Enable deprecation warnings for glance itself to capture upcoming
161150
# SQLAlchemy changes
162151

0 commit comments

Comments
 (0)