code: def test_plimit7():
      intervals = librosa.plimit_intervals(
          primes=[3, 5, 7], bins_per_octave=24, sort=False
      )
      intervals_s = librosa.plimit_intervals(
          primes=[3, 5, 7], bins_per_octave=24, sort=True
      )
  
      assert np.allclose(sorted(intervals), intervals_s)
      assert np.allclose(
          intervals,
          [
              1,  # Unison
              3 / 2,  # P5
              4 / 3,  # P4
              9 / 8,  # major whole tone
              5 / 4,  # Pt M3
              15 / 8,  # Pt M7
              5 / 3,  # Pt M6
              45 / 32,  # Pt TT
              8 / 5,  # Pt m6
              6 / 5,  # Pt m3
              16 / 15,  # major diatonic semitone
              9 / 5,  # Pt m7
              16 / 9,  # Py m7
              27 / 16,  # Py M6
              7 / 4,  # N7
              21 / 16,  # septimal narrow 4
              8 / 7,  # septimal whole tone
              12 / 7,  # septimal M7
              9 / 7,  # septimal M3
              32 / 21,  # septimal wide fifth
              7 / 6,  # septimal m3
              63 / 32,  # septimal narrow octave
              35 / 32,  # septimal N2
              105 / 64,  # septimal N6
          ],
      )
  
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 4 for calling a global function with example usage: test_plimit7() without return types