Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-librosa
mark-network-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mark-network-tests.patch of Package python-librosa
--- setup.cfg | 2 ++ tests/test_multichannel.py | 1 + tests/test_util.py | 3 +++ 3 files changed, 6 insertions(+) --- a/setup.cfg +++ b/setup.cfg @@ -14,6 +14,8 @@ addopts = --mpl --mpl-baseline-path=tes filterwarnings = ignore::DeprecationWarning:audioread.* ignore::DeprecationWarning:resampy.* +markers = + network: tests requiring network connection [flake8] count = True --- a/tests/test_multichannel.py +++ b/tests/test_multichannel.py @@ -914,6 +914,7 @@ def test_click_multi(): assert np.allclose(yout[..., 2000:2100], click) +@pytest.mark.network def test_nnls_multi(s_multi): # Verify that a stereo melspectrogram can be reconstructed --- a/tests/test_util.py +++ b/tests/test_util.py @@ -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") +@pytest.mark.network @pytest.mark.xfail(raises=librosa.ParameterError) def test_cite_unreleased(): librosa.cite("0.10.0.dev0")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor