diff --git a/tests/test_filters.py b/tests/test_filters.py index 5e5cfe5fc..395f52cb2 100644 --- a/tests/test_filters.py +++ b/tests/test_filters.py @@ -191,7 +191,7 @@ def test_ascii85decode_five_zero_bytes(): def test_ccitparameters(): with pytest.raises( DeprecationWarning, - match="CCITParameters is deprecated and will be removed in pypdf 5.2.0. Use CCITTParameters instead", + match="CCITParameters is deprecated and will be removed in pypdf 6.0.0. Use CCITTParameters instead", ): params = CCITParameters() assert params.K == 0 # zero is the default according to page 78