From 99756a892640119710d2bf903cb5b3a2f209786b Mon Sep 17 00:00:00 2001 From: Elliot Tower Date: Mon, 27 Nov 2023 12:11:07 -0500 Subject: [PATCH] Add xfail to capture PettingZoo ValueError (from invalid actions) --- tests/unit/test_arena.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/test_arena.py b/tests/unit/test_arena.py index 1c882204..5870c7a5 100644 --- a/tests/unit/test_arena.py +++ b/tests/unit/test_arena.py @@ -164,6 +164,7 @@ def test_arena_10(self): "OpenAI API key must be set to run this test.", ) @pytest.mark.xfail(raises=chatarena.arena.TooManyInvalidActions) + @pytest.mark.xfail(raises=ValueError) def test_arena_11(self): arena = Arena.from_config( os.path.join(EXAMPLES_DIR, "pettingzoo_tictactoe.json")