Skip to content

Commit f0cadea

Browse files
handle change from comment to description in test and documentation
1 parent 02740ee commit f0cadea

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/pygambit.api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Information about the game
9595
:toctree: api/
9696

9797
Game.title
98-
Game.comment
98+
Game.description
9999
Game.is_const_sum
100100
Game.is_tree
101101
Game.is_perfect_recall

tests/test_extensive.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ def test_game_title(title: str):
2525

2626

2727
@pytest.mark.parametrize(
28-
"comment", ["This is a comment describing the game in more detail"]
28+
"description", ["This is a description describing the game in more detail"]
2929
)
30-
def test_game_comment(comment: str):
30+
def test_game_description(description: str):
3131
game = gbt.Game.new_tree()
32-
game.comment = comment
33-
assert game.comment == comment
32+
game.description = description
33+
assert game.description == description
3434

3535

3636
@pytest.mark.parametrize("players", [["Alice"], ["Oscar", "Felix"]])

0 commit comments

Comments
 (0)