def test_spectrogram(self, signal):
        if 1 > signal.channels:
            with pytest.raises(ValueError):
                signal.spectrogram()
        else:
            try:
                signal.spectrogram()
            except NotImplementedError: # easy way to skip mpl 1.3.1 specgram mode issue
                pass
dataset/ETHPy150Open python-acoustics/python-acoustics/tests/test__signal.py/TestSignal.test_spectrogram/swapped operands of `>`