Skip to content

Commit d27c36e

Browse files
committed
ignore our own deprecation warnings
1 parent c199968 commit d27c36e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/integration/test_async_search_index.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@
88

99
fields = [{"name": "test", "type": "tag"}]
1010

11+
# Remove deprecation warnings after the next major release
12+
pytestmark = [
13+
pytest.mark.filterwarnings(
14+
"ignore:connect\\(\\) is deprecated; pass connection parameters in __init__:DeprecationWarning"
15+
),
16+
pytest.mark.filterwarnings(
17+
"ignore:Converting sync Redis client to async client is deprecated.*:DeprecationWarning"
18+
),
19+
pytest.mark.filterwarnings(
20+
"ignore:Function .* is deprecated and will be removed in the next major release.*:DeprecationWarning"
21+
),
22+
]
23+
1124

1225
@pytest.fixture
1326
def index_schema():

0 commit comments

Comments
 (0)