code: def test4(self):
      prog_text_4 = """\
  global x
  x = 2
  """
      # this should work
      compile(prog_text_4, "<test string>", "exec")
  
file_path: cpython/Lib/test/test_global.py
imports: from test.support import check_syntax_error
  from test.support.warnings_helper import check_warnings
  import unittest
  import warnings
label_desc: Use image node_id 5 for calling the GlobalTests obj's underlying member method code with example usage: obj.test4() without return types