code: def test_invalid_dtype_singular_values(self):
      with self.assertRaises(TypeError):
          testing.generate_matrix((2, 2), singular_values=1 + 0j)
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 3 for calling the TestGenerateMatrixInvalid obj's underlying member method code with example usage: obj.test_invalid_dtype_singular_values() without return types