diff --git a/tests/_files/test_sticker.py b/tests/_files/test_sticker.py index a62a1da78e9..72be6bafba7 100644 --- a/tests/_files/test_sticker.py +++ b/tests/_files/test_sticker.py @@ -472,7 +472,6 @@ async def test_send_sticker_default_protect_content(self, chat_id, sticker, defa assert protected.has_protected_content assert not unprotected.has_protected_content - @pytest.mark.xfail(reason="API 7.2 incompatibility, see #4181") async def test_premium_animation(self, bot): # testing animation sucks a bit since we can't create a premium sticker. What we can do is # get a sticker set which includes a premium sticker and check that specific one. @@ -490,7 +489,6 @@ async def test_premium_animation(self, bot): } assert premium_sticker.premium_animation.to_dict() == premium_sticker_dict - @pytest.mark.xfail(reason="API 7.2 incompatibility, see #4181") async def test_custom_emoji(self, bot): # testing custom emoji stickers is as much of an annoyance as the premium animation, see # in test_premium_animation @@ -529,7 +527,6 @@ async def test_error_send_empty_file_id(self, bot, chat_id): @pytest.fixture() async def sticker_set(bot): - pytest.xfail(reason="API 7.2 incompatibility, see #4181") ss = await bot.get_sticker_set(f"test_by_{bot.username}") if len(ss.stickers) > 100: try: @@ -544,7 +541,6 @@ async def sticker_set(bot): @pytest.fixture() async def animated_sticker_set(bot): - pytest.xfail(reason="API 7.2 incompatibility, see #4181") ss = await bot.get_sticker_set(f"animated_test_by_{bot.username}") if len(ss.stickers) > 100: try: @@ -803,7 +799,6 @@ async def make_assertion(*_, **kwargs): @pytest.mark.xdist_group("stickerset") -@pytest.mark.xfail(reason="API 7.2 incompatibility, see #4181") class TestStickerSetWithRequest: async def test_create_sticker_set( self, bot, chat_id, sticker_file, animated_sticker_file, video_sticker_file @@ -1120,7 +1115,6 @@ def test_equality(self): assert hash(a) != hash(e) -@pytest.mark.xfail(reason="API 7.2 incompatibility, see #4181") class TestMaskPositionWithRequest(TestMaskPositionBase): async def test_create_new_mask_sticker_set(self, bot, chat_id, sticker_file, mask_position): name = f"masks_by_{bot.username}"