code: def test_blocks_to_frames(blocks, block_length):
      frames = librosa.blocks_to_frames(
          blocks, block_length=block_length
      )
  
      # Check shape
      assert frames.ndim == np.asarray(blocks).ndim
      assert frames.size == np.asarray(blocks).size
  
      # Check values
      assert np.allclose(frames, block_length * np.asanyarray(blocks))
  
      # Check dtype
      assert np.issubdtype(frames.dtype, int)
  
imports: import os
  import sys
  import warnings
  import librosa
  import numpy
  import pytest
label_desc: Use image node_id 36 for calling a global function with example usage: test_blocks_to_frames(blocks, block_length) without return types