Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenStack
oslo
python-oslo.db
Commits
87aa633d
Commit
87aa633d
authored
Jul 20, 2022
by
Zuul
Committed by
Gerrit Code Review
Jul 20, 2022
Browse files
Merge "trivial: Don't emit warnings for our own deprecations"
parents
f9bbfe63
4c451b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
oslo_db/tests/fixtures.py
View file @
87aa633d
...
...
@@ -26,6 +26,13 @@ class WarningsFixture(fixtures.Fixture):
warnings
.
simplefilter
(
'once'
,
DeprecationWarning
)
# Except things we've deprecated but are still testing until removal
warnings
.
filterwarnings
(
'ignore'
,
category
=
DeprecationWarning
,
module
=
'oslo_db'
)
# Enable generic warnings to ensure we're not doing anything odd
warnings
.
filterwarnings
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment