From fa257972fb59f4ec44d1b3f833d393f8b161b754 Mon Sep 17 00:00:00 2001 From: LuoChen Date: Wed, 7 Aug 2024 17:16:48 +0800 Subject: [PATCH] chore: unmark test_binary_search as xfail --- test/examples/ai_powered_decorator/binary_search.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/examples/ai_powered_decorator/binary_search.py b/test/examples/ai_powered_decorator/binary_search.py index b5c4021..40c38e4 100644 --- a/test/examples/ai_powered_decorator/binary_search.py +++ b/test/examples/ai_powered_decorator/binary_search.py @@ -1,4 +1,3 @@ -import pytest from ai_powered import ai_powered @ai_powered @@ -10,7 +9,6 @@ def binary_search(arr: list[int], x: int) -> int: ''' ... -@pytest.mark.xfail(reason="Not Stable") def test_binary_search(): assert binary_search([10, 20, 100, 103, 104, 105], 103) == 3 assert binary_search([1, 2, 100, 103, 104, 105], 2) == 1