From c584f7907635447fb7ec7d7837589d019c6bb7af Mon Sep 17 00:00:00 2001 From: Elliot Tower Date: Mon, 27 Nov 2023 14:02:30 -0500 Subject: [PATCH] Add xfail to capture PettingZoo ValueError (from invalid actions) (#107) --- 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")