code: def test_misc():
      """Test misc private methods for AffineTransform."""
      transform = AffineTransform("in", "out", np.random.random((3, 3)))
  
      # Check that the repr does not raise an error:
      assert isinstance(repr(transform), str)
      # Check that copy and eq work
      assert transform == copy.copy(transform)
      assert transform == copy.deepcopy(transform)
  
imports: import copy
  import numpy
  from ..affine_transform import AffineTransform
label_desc: Use image node_id 2 for calling a global function with example usage: test_misc() without return types