code: def test_eddm():
      expected_indices = [1059]
      detected_indices = perform_test(
          drift.binary.EDDM(alpha=0.9, beta=0.8), data_stream_2
      )
      assert detected_indices == expected_indices
  
file_path: river/river/drift/test_drift_detectors.py
imports: from __future__ import annotations
  import numpy
  import pytest
  from river import drift
label_desc: Use image node_id 3 for calling a global function with example usage: test_eddm() without return types