code: def test_type_parsing(self):
      # Test parsing type of attribute from their value.
      with open(test2) as ofile:
          rel, attrs = read_header(ofile)
  
      expected = [
          "numeric",
          "numeric",
          "numeric",
          "numeric",
          "numeric",
          "numeric",
          "string",
          "string",
          "nominal",
          "nominal",
      ]
  
      for i in range(len(attrs)):
          assert_(attrs[i].type_name == expected[i])
  
imports: import datetime
  import os
  import sys
  from os.path import join
  from io import StringIO
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_equal, assert_
  from pytest import raises
  from scipy.io.arff import loadarff
  from scipy.io.arff._arffread import read_header, ParseArffError
label_desc: Use image node_id 1 for calling the TestHeader obj's underlying member method code with example usage: obj.test_type_parsing() without return types