code: def test_read_csv():
      """Test that reading the data from csv file gives you back a reasonable
      time-series object"""
      CA = nitime.CoherenceAnalyzer()
      CA.inputs.TR = 1.89  # bogus value just to pass traits test
      CA.inputs.in_file = example_data("fmri_timeseries_nolabels.csv")
      with pytest.raises(ValueError):
          CA._read_csv()
  
      CA.inputs.in_file = example_data("fmri_timeseries.csv")
      data, roi_names = CA._read_csv()
      assert data[0][0] == 10125.9
      assert roi_names[0] == "WM"
  
file_path: nipype/nipype/interfaces/nitime/tests/test_nitime.py
imports: import os
  import tempfile
  import numpy
  import pytest
  from nipype.testing import example_data
  import nipype.interfaces.nitime
label_desc: Use image node_id 1 for calling a global function with example usage: test_read_csv() without return types