code: def test_custom_output_length(self):
      x = th.ones(1, 32001)
  
      resampler = resample.ResampleFrac(old_sr=32000, new_sr=48000)
      y = resampler(x, output_length=48001)
      self.assertEqual(y.shape, (1, 48001))
  
      # Test functional version as well
      y = resample.resample_frac(
          x, old_sr=32000, new_sr=48000, output_length=47999
      )
      self.assertEqual(y.shape, (1, 47999))
  
imports: import os
  import tempfile
  import uuid
  from pathlib import Path
  import math
  import random
  import unittest
  import resampy
  import torch
  from julius import resample, ResampleFrac
label_desc: Use image node_id 6 for calling the TestResampleFrac obj's underlying member method code with example usage: obj.test_custom_output_length() without return types