code: def require_optimum(test_case):
      """
      Decorator marking a test that requires optimum. These tests are skipped when optimum isn't installed.
      """
      return unittest.skipUnless(
          is_optimum_available(), "test requires optimum"
      )(test_case)
  
file_path: peft/tests/testing_utils.py
imports: import unittest
  from contextlib import contextmanager
  import numpy
  import pytest
  import torch
  from peft.import_utils import is_auto_gptq_available, is_optimum_available
label_desc: Use image node_id 5 for calling a global function with example usage: require_optimum(test_case) and returns: unittest