code: def test_plimit3():
      intervals = librosa.plimit_intervals(
          primes=[3], bins_per_octave=24, sort=False
      )
      intervals_s = librosa.plimit_intervals(
          primes=[3], bins_per_octave=24, sort=True
      )
  
      assert np.allclose(sorted(intervals), intervals_s)
      assert np.allclose(
          intervals,
          [
              1,  # These are just alternating powers of 3/2
              3 / 2,
              4 / 3,
              9 / 8,
              16 / 9,
              32 / 27,
              27 / 16,
              128 / 81,
              81 / 64,
              256 / 243,
              243 / 128,
              729 / 512,
              2187 / 2048,
              6561 / 4096,
              1024 / 729,
              4096 / 2187,
              8192 / 6561,
              7625 / 6347,
              10037 / 6029,
              13654 / 7577,
              7577 / 6827,
              12457 / 9217,
              2006 / 1979,
              12497 / 8445,
          ],
      )
  
file_path: librosa/tests/test_intervals.py
imports: import os
  import sys
  import warnings
  import numpy
  import pytest
  import librosa
label_desc: Use image node_id 2 for calling a global function with example usage: test_plimit3() without return types