code: def test_keyboard_relevant_keydown_event():
      env = PlayableEnv(render_mode="rgb_array")
      game = PlayableGame(env, dummy_keys_to_action())
      event = Event(pygame.KEYDOWN, {"key": RELEVANT_KEY_1})
      game.process_event(event)
      assert game.pressed_keys == [RELEVANT_KEY_1]
  
imports: from functools import partial
  from itertools import product
  from typing import Callable
  import numpy
  import pygame
  import pytest
  from pygame import KEYDOWN, KEYUP, QUIT, event
  from pygame.event import Event
  import gym
  from gym.utils.play import MissingKeysToAction, PlayableGame, play
  from tests.testing_env import GenericTestEnv
label_desc: Use image node_id 11 for calling a global function with example usage: test_keyboard_relevant_keydown_event() without return types