code: def test_badtype_parsing(self):
      # Test parsing wrong type of attribute from their value.
      ofile = open(test3)
      rel, attrs = read_header(ofile)
      ofile.close()
  
      for name, value in attrs:
          assert_raises(ParseArffError, parse_type, value)
  
imports: from __future__ import division, print_function, absolute_import
  import datetime
  import os
  import sys
  from os.path import join
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_equal, assert_
  import pytest
  from pytest import raises
  from scipy.io.arff.arffread import loadarff
  from scipy.io.arff.arffread import read_header, parse_type, ParseArffError
label_desc: Use image node_id 2 for calling the TestHeader obj's underlying member method code with example usage: obj.test_badtype_parsing() without return types