Matej Cepl 2024-10-04 21:00:30 +00:00 committed by Git OBS Bridge
parent f0940f91f0
commit f092bd80a7

View File

@ -1,8 +1,8 @@
---
setup.cfg | 2 ++
tests/test_multichannel.py | 1 +
tests/test_util.py | 1 +
3 files changed, 4 insertions(+)
tests/test_util.py | 3 +++
3 files changed, 6 insertions(+)
--- a/setup.cfg
+++ b/setup.cfg
@ -27,7 +27,20 @@
# Verify that a stereo melspectrogram can be reconstructed
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -1396,6 +1396,7 @@ def test_cite_badversion():
@@ -1385,17 +1385,20 @@ def test_phasor(dtype, angles, mag):
assert z2.dtype == librosa.util.dtype_r2c(dtype)
+@pytest.mark.network
def test_cite_released():
version = "0.10.1"
doi = "https://doi.org/10.5281/zenodo.8252662"
assert doi == librosa.cite(version=version)
+@pytest.mark.network
@pytest.mark.xfail(raises=librosa.ParameterError)
def test_cite_badversion():
librosa.cite(version="-1.5")