code: def test_posix_locale(self):
      code = "import sys; print(sys.flags.utf8_mode)"
  
      for loc in POSIX_LOCALES:
          with self.subTest(LC_ALL=loc):
              out = self.get_output("-c", code, LC_ALL=loc)
              self.assertEqual(out, "1")
  
imports: import locale
  import subprocess
  import sys
  import textwrap
  import unittest
  from test import support
  from test.support.script_helper import assert_python_ok, assert_python_failure
  from test.support import os_helper, MS_WINDOWS
label_desc: Use image node_id 3 for calling the UTF8ModeTests obj's underlying member method code with example usage: obj.test_posix_locale() without return types