code: def test1(self):
      # An error message contains the file name `kern.cu`
      with self.assertRaisesRegex(compiler.CompileException, "kern.cu"):
          compiler.compile_using_nvrtc("a")
  
imports: import pickle
  import unittest
  from unittest import mock
  import cupy
  from cupy.cuda import compiler
label_desc: Use image node_id 1 for calling the TestNvrtcStderr obj's underlying member method code with example usage: obj.test1() without return types