From 46cade0370f212b15b251323d407f7a196d23927 Mon Sep 17 00:00:00 2001 From: whatevertogo Date: Sun, 22 Mar 2026 21:22:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E8=BF=87=E6=97=B6?= =?UTF-8?q?=E7=9A=84=20QQ=20=E5=85=BC=E5=AE=B9=E6=80=A7=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unit/test_aiocqhttp_poke.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/unit/test_aiocqhttp_poke.py b/tests/unit/test_aiocqhttp_poke.py index edd8f2ae27..dff886b91e 100644 --- a/tests/unit/test_aiocqhttp_poke.py +++ b/tests/unit/test_aiocqhttp_poke.py @@ -18,14 +18,6 @@ def test_poke_to_dict_matches_onebot_v11_segment_format(): } -def test_poke_to_dict_keeps_legacy_qq_compatible(): - poke = Comp.Poke(type="poke", qq=2916963017) - assert poke.toDict() == { - "type": "poke", - "data": {"type": "126", "id": "2916963017"}, - } - - @pytest.mark.asyncio async def test_respond_stage_treats_poke_with_target_as_non_empty(): stage = RespondStage()