code: def test_load_simple_file(self):
      for lazy_load in [False, True]:
          tck = TckFile.load(
              DATA["simple_tck_fname"], lazy_load=lazy_load
          )
          with pytest.warns(Warning) if lazy_load else error_warnings():
              assert_tractogram_equal(
                  tck.tractogram, DATA["simple_tractogram"]
              )
  
      # Force TCK loading to use buffering.
      buffer_size = 1.0 / 1024**2  # 1 bytes
      hdr = TckFile._read_header(DATA["simple_tck_fname"])
      tck_reader = TckFile._read(
          DATA["simple_tck_fname"], hdr, buffer_size
      )
      streamlines = ArraySequence(tck_reader)
      tractogram = Tractogram(streamlines)
      tractogram.affine_to_rasmm = np.eye(4)
      tck = TckFile(tractogram, header=hdr)
      assert_tractogram_equal(tck.tractogram, DATA["simple_tractogram"])
  
imports: import os
  import unittest
  from io import BytesIO
  from os.path import join
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ...testing import data_path, error_warnings
  from ..None import tck
  from ..array_sequence import ArraySequence
  from ..tck import TckFile
  from ..tractogram import Tractogram
  from ..tractogram_file import DataError, HeaderError, HeaderWarning
  from .test_tractogram import assert_tractogram_equal
label_desc: Use image node_id 5 for calling the TestTCK obj's underlying member method code with example usage: obj.test_load_simple_file() without return types