code: def test_samples_like_scalar():
      X = 7
      hop_length = 512
  
      samples = librosa.samples_like(X, hop_length=hop_length)
  
      expected_samples = np.arange(7) * hop_length
  
      assert np.allclose(samples, expected_samples)
  
imports: import os
  import sys
  import warnings
  import librosa
  import numpy
  import pytest
label_desc: Use image node_id 33 for calling a global function with example usage: test_samples_like_scalar() without return types