Fix network masking
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=53
This commit is contained in:
parent
f0940f91f0
commit
f092bd80a7
@ -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")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user