From 731b3bd59bbdaf4ba708d2a4fa94ea714191de34 Mon Sep 17 00:00:00 2001 From: Mark Sze Date: Thu, 21 Nov 2024 00:11:44 +0000 Subject: [PATCH] Added Python 3.13 to OpenAI tests --- test/test_notebook.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/test_notebook.py b/test/test_notebook.py index d6db43d711..2b09655a08 100755 --- a/test/test_notebook.py +++ b/test/test_notebook.py @@ -78,40 +78,40 @@ def test_agentchat_function_call(save=False): @pytest.mark.skipif( - skip or not sys.version.startswith("3.10"), - reason="do not run if openai is not installed or py!=3.10", + skip or not sys.version.startswith("3.13"), + reason="do not run if openai is not installed or py!=3.13", ) def test_agentchat_function_call_currency_calculator(save=False): run_notebook("agentchat_function_call_currency_calculator.ipynb", save=save) @pytest.mark.skipif( - skip or not sys.version.startswith("3.11"), - reason="do not run if openai is not installed or py!=3.11", + skip or not sys.version.startswith("3.10"), + reason="do not run if openai is not installed or py!=3.10", ) def test_agentchat_function_call_async(save=False): run_notebook("agentchat_function_call_async.ipynb", save=save) @pytest.mark.skipif( - skip or not sys.version.startswith("3.12"), - reason="do not run if openai is not installed or py!=3.12", + skip or not sys.version.startswith("3.11"), + reason="do not run if openai is not installed or py!=3.11", ) def _test_agentchat_MathChat(save=False): run_notebook("agentchat_MathChat.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", + skip or not sys.version.startswith("3.12"), + reason="do not run if openai is not installed or py!=3.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.12"), - reason="do not run if openai is not installed or py!=3.12", + skip or not sys.version.startswith("3.13"), + reason="do not run if openai is not installed or py!=3.13", ) def test_agentchat_groupchat_finite_state_machine(save=False): run_notebook("agentchat_groupchat_finite_state_machine.ipynb", save=save)