diff --git a/src/promptflow/tests/executor/unittests/executor/test_tool_resolver.py b/src/promptflow/tests/executor/unittests/executor/test_tool_resolver.py index 66c89a95313..f0897d524a4 100644 --- a/src/promptflow/tests/executor/unittests/executor/test_tool_resolver.py +++ b/src/promptflow/tests/executor/unittests/executor/test_tool_resolver.py @@ -153,6 +153,10 @@ def test_resolve_tool_by_node_with_duplicated_inputs(self, resolver, mocker): assert isinstance(exec_info.value.inner_exception, NodeInputValidationError) assert "These inputs are duplicated" in exec_info.value.message + @pytest.mark.skipif( + condition=(sys.version_info.major == 3 and sys.version_info.minor == 11), + reason="BUG 2709800: known issue on enum in Python 3.11", + ) def test_ensure_node_inputs_type(self): # Case 1: conn_name not in connections, should raise conn_name not found error tool = Tool(name="mock", type="python", inputs={"conn": InputDefinition(type=["CustomConnection"])})