code: def test_binary_bytearray_of_ints_data_error(tmp_path):
      temp_data_bytearray_from_ints = bytearray([0, 1, 0, 11, 10])
      temp_bin_file = tmp_path / "temp_bin.bin"
      with open(temp_bin_file, "wb") as temp_bin_obj:
          temp_bin_obj.write(temp_data_bytearray_from_ints)
      with pytest.raises(
          ValueError,
          match="The values in the events file are not separated by tabs",
      ):
          _check_events_file_uses_tab_separators(
              events_files=temp_bin_file
          )
  
file_path: nilearn/nilearn/glm/tests/test_check_events_file_uses_tab_separators.py
imports: import pandas
  import pytest
  from nilearn.glm.first_level.first_level import _check_events_file_uses_tab_separators
label_desc: Use image node_id 9 for calling a global function with example usage: test_binary_bytearray_of_ints_data_error(tmp_path) without return types