Skip to content

Commit 63163d0

Browse files
committed
Removed WebP feature handling
1 parent 640f55a commit 63163d0

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Tests/test_features.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ def test_check() -> None:
1818
for codec in features.codecs:
1919
assert features.check_codec(codec) == features.check(codec)
2020
for feature in features.features:
21-
if "webp" in feature:
22-
with pytest.warns(DeprecationWarning, match="webp"):
23-
assert features.check_feature(feature) == features.check(feature)
24-
else:
25-
assert features.check_feature(feature) == features.check(feature)
21+
assert features.check_feature(feature) == features.check(feature)
2622

2723

2824
def test_version() -> None:
@@ -48,11 +44,7 @@ def test(name: str, function: Callable[[str], str | None]) -> None:
4844
for codec in features.codecs:
4945
test(codec, features.version_codec)
5046
for feature in features.features:
51-
if "webp" in feature:
52-
with pytest.warns(DeprecationWarning, match="webp"):
53-
test(feature, features.version_feature)
54-
else:
55-
test(feature, features.version_feature)
47+
test(feature, features.version_feature)
5648

5749

5850
@skip_unless_feature("libjpeg_turbo")

0 commit comments

Comments
 (0)