code: def test_scheduler_memory_fraction(self):
      m1 = os.path.join(self.folder, self.model1)
      m2 = os.path.join(self.folder, self.model2)
      # Needs to not evaluate to False
      shed = Scheduler(config={"per_process_gpu_memory_fraction": 0.01})
      with self.assertRaises(tf.errors.ResourceExhaustedError):
          pred1a = shed.predict(m1, ["A"])
          raise ValueError("You may need to run this test in isolation")
  
file_path: finetune/tests/test_scheduler_memory_fraction.py
imports: import os
  import unittest
  import time
  import shutil
  import warnings
  import pytest
  from multiprocessing import Process
  import tensorflow
  from finetune.base_models import RoBERTa, GPT
  from finetune import Classifier
  from finetune.scheduler import Scheduler
label_desc: Use image node_id 4 for calling the TestScheduler obj's underlying member method code with example usage: obj.test_scheduler_memory_fraction() without return types