From fcf744a4a9f04dc906fc0103ebb0dc296e3a8fb7 Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Thu, 11 May 2023 16:49:41 -0500 Subject: [PATCH] hotfix for test (#4173) * hotfix for test * removed comment --- client/python/test/test_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/python/test/test_client.py b/client/python/test/test_client.py index a53854a36d..de0cf7323e 100644 --- a/client/python/test/test_client.py +++ b/client/python/test/test_client.py @@ -746,8 +746,8 @@ class TestAPIInfo: "type": "List[str]", "description": "List of filepath(s) or URL(s) to files", } - # Will change to list when we do the next gradio release - assert isinstance(inputs[0]["example_input"], str) + assert isinstance(inputs[0]["example_input"], list) + assert isinstance(inputs[0]["example_input"][0], str) assert inputs[1]["python_type"] == { "type": "str",