code: def skip_unless_working_chmod(test):
      """Skip tests that require working os.chmod()
  
      WASI SDK 15.0 cannot change file mode bits.
      """
      ok = can_chmod()
      msg = "requires working os.chmod()"
      return test if ok else unittest.skip(msg)(test)
  
imports: import collections.abc
  import contextlib
  import errno
  import os
  import re
  import stat
  import string
  import sys
  import time
  import unittest
  import warnings
  from test import support
label_desc: Use image node_id 7 for calling a global function with example usage: skip_unless_working_chmod(test) and returns: unknown