code: def test_frametimes_as_a_list():
      # design matrix should work with frametimes provided as a list
      paradigm = basic_paradigm()
      frametimes = list(range(99))
      X1 = make_dmtx(frametimes, paradigm, drift_model="blank")
      frametimes = np.arange(0, 99)
      X2 = make_dmtx(frametimes, paradigm, drift_model="blank")
      assert_array_equal(X1.matrix, X2.matrix)
  
imports: import os.path
  from unittest import skipIf
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ..design_matrix import _convolve_regressors, _cosine_drift, dmtx_from_csv, dmtx_light, make_dmtx
  from ..experimental_paradigm import BlockParadigm, EventRelatedParadigm
label_desc: Use image node_id 40 for calling a global function with example usage: test_frametimes_as_a_list() without return types