code: def fixture_encode_mp3():
      """fixture_encode_mp3"""
      raw_path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_audio",
          "l1-fl6.raw",
      )
      raw = np.fromfile(raw_path, np.int16)
      raw = raw.reshape([-1, 2])
      value = tf.cast(raw, tf.float32) / 32768.0
  
      # lame has a delay which will expand the number of samples.
      # for that this test simply check the number of samples
      args = value
  
      def func(e):
          v = tfio.audio.encode_mp3(e, rate=44100)
          v = tfio.audio.decode_mp3(v)
          v = tf.shape(v)
          return v
  
      # Should be [18816, 2] but lame expand additional samples
      expected = tf.constant([21888, 2], tf.int32)
  
      return args, func, expected
  
imports: import os
  import sys
  import pytest
  import numpy
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 23 for calling a global function with example usage: fixture_encode_mp3() and returns: args,  func,  expected, v