code: def test2(self):
      with self.assertRaises(compiler.CompileException) as e:
          compiler.compile_using_nvrtc("a")
          assert "unknown type name 'a'" in e
  
imports: import pickle
  import unittest
  from unittest import mock
  import cupy
  from cupy.cuda import compiler
label_desc: Use image node_id 2 for calling the TestNvrtcStderr obj's underlying member method code with example usage: obj.test2() without return types