diff --git a/libs/core/tests/unit_tests/test_tools.py b/libs/core/tests/unit_tests/test_tools.py index 20c378ef1ee29..b61e6af39a734 100644 --- a/libs/core/tests/unit_tests/test_tools.py +++ b/libs/core/tests/unit_tests/test_tools.py @@ -2177,10 +2177,6 @@ def foo(self, b: str) -> str: assert a.foo.invoke("b") == "ab" -@pytest.mark.skipif( - sys.version_info >= (3, 13), - reason="Class methods wrapping properties was removed with Python 3.13", -) def test_method_tool_toolcall_invoke() -> None: """Test that a method tool can be invoked with a ToolCall.""" @@ -2226,6 +2222,10 @@ def foo(cls, a: int, b: int) -> int: assert A.foo.invoke({"a": 1, "b": 2}) == 8 +@pytest.mark.skipif( + sys.version_info >= (3, 13), + reason="Class methods wrapping properties was removed with Python 3.13", +) def test_method_tool_classmethod_args() -> None: """Test that a classmethod tool's args do not include cls."""