From c22a322affeb774418793d08ef8d812793e4772c Mon Sep 17 00:00:00 2001 From: Qingyun Wu Date: Sun, 12 Nov 2023 08:37:48 -0500 Subject: [PATCH] uncomment test (#640) --- test/test_notebook.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test_notebook.py b/test/test_notebook.py index 5d6bbccf876..014724c1db0 100644 --- a/test/test_notebook.py +++ b/test/test_notebook.py @@ -84,12 +84,12 @@ def _test_oai_chatgpt_gpt4(save=False): run_notebook("oai_chatgpt_gpt4.ipynb", save=save) -# @pytest.mark.skipif( -# skip or not sys.version.startswith("3.10"), -# reason="do not run if openai is not installed or py!=3.10", -# ) -# def test_hierarchy_flow_using_select_speaker(save=False): -# run_notebook("agentchat_hierarchy_flow_using_select_speaker.ipynb", save=save) +@pytest.mark.skipif( + skip or not sys.version.startswith("3.10"), + reason="do not run if openai is not installed or py!=3.10", +) +def test_hierarchy_flow_using_select_speaker(save=False): + run_notebook("agentchat_hierarchy_flow_using_select_speaker.ipynb", save=save) if __name__ == "__main__":