Skip to content

Commit

Permalink
Add xfail to capture PettingZoo ValueError (from invalid actions) (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottower authored Nov 27, 2023
1 parent bfc6a3d commit c584f79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_arena.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c584f79

Please sign in to comment.