Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typos in functions names.
  • Loading branch information
gianlucadecola committed Apr 10, 2022
commit 1b3485fb272cdf3818d609118a7a10d28f6de7ed
4 changes: 2 additions & 2 deletions tests/utils/test_play.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ def close_pygame():
pygame.quit()


def test_play_relvant_keys():
def test_play_relevant_keys():
env = DummyPlayEnv()
game = PlayableGame(env, dummy_keys_to_action())
assert game.relevant_keys == {97, 100}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No magic numbers please



def test_play_revant_keys_no_mapping():
def test_play_relevant_keys_no_mapping():
env = DummyPlayEnv()
env.spec = DummyEnvSpec("DummyPlayEnv")

Expand Down