code: def _durations():
      return np.ones(len(_onsets()))
  
file_path: nilearn/nilearn/glm/tests/_testing.py
imports: import numpy
  import pandas
  from nilearn.conftest import _rng
label_desc: Use image node_id 3 for calling a global function with example usage: _durations() and returns: np