code: def test_pythagorean():
      ivals = librosa.pythagorean_intervals(
          bins_per_octave=6, sort=False
      )
      assert np.allclose(
          ivals, [1, 3 / 2, 9 / 8, 27 / 16, 81 / 64, 243 / 128]
      )
      ivals2 = librosa.pythagorean_intervals(
          bins_per_octave=6, sort=True
      )
      assert np.allclose(sorted(ivals), ivals2)
  
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 1 for calling a global function with example usage: test_pythagorean() without return types