code: def test_event_list():
      e1 = Events.ITERATION_STARTED(once=1)
      e2 = Events.ITERATION_STARTED(every=3)
      e3 = Events.COMPLETED
  
      event_list = e1 | e2 | e3
  
      assert isinstance(event_list, EventsList)
      assert len(event_list) == 3
      assert event_list[0] == e1
      assert event_list[1] == e2
      assert event_list[2] == e3
  
imports: from enum import Enum
  from unittest.mock import MagicMock
  import pytest
  import torch
  import ignite.distributed
  from ignite.engine import Engine, Events
  from ignite.engine.events import CallableEventWithFilter, EventEnum, EventsList
label_desc: Use image node_id 25 for calling a global function with example usage: test_event_list() without return types