code: def test_affine_params(self):
      g = load_wkt("LINESTRING(2.4 4.1, 2.4 3, 3 3)")
  
      with pytest.raises(TypeError):
          affinity.affine_transform(g, None)
  
      with pytest.raises(ValueError):
          affinity.affine_transform(g, [1, 2, 3, 4, 5, 6, 7, 8, 9])
  
      with pytest.raises(AttributeError):
          affinity.affine_transform(None, [1, 2, 3, 4, 5, 6])
  
imports: import unittest
  from math import pi
  import numpy
  import pytest
  from shapely import affinity
  from shapely.geometry import Point
  from shapely.wkt import loads
label_desc: Use image node_id 1 for calling the AffineTestCase obj's underlying member method code with example usage: obj.test_affine_params() without return types