jiaaro / pydub

Manipulate audio with a simple and easy high level interface
http://pydub.com
MIT License
8.96k stars 1.05k forks source link

Pytest doesn't find any tests #712

Open yurivict opened 1 year ago

yurivict commented 1 year ago

Steps to reproduce

cd test && pytest .

Actual behavior

===>  Testing for py39-pydub-0.25.1
===>   py39-pydub-0.25.1 depends on package: py39-pytest>=7,1 - found
===>   py39-pydub-0.25.1 depends on file: /usr/local/bin/python3.9 - found
cd /usr/ports/audio/py-pydub/work-py39/pydub-0.25.1/test && /usr/bin/env XDG_DATA_HOME=/usr/ports/audio/py-pydub/work-py39  XDG_CONFIG_HOME=/usr/ports/audio/py-pydub/work-py39  XDG_CACHE_HOME=/usr/ports/audio/py-pydub/work-py39/.cache  HOME=/usr/ports/audio/py-pydub/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/audio/py-pydub/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/audio/py-pydub/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" PYTHONPATH=/usr/ports/audio/py-pydub/work-py39/stage/usr/local/lib/python3.9/site-packages /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts= 
/usr/local/lib/python3.9/site-packages/pytestqt/logging.py:42: PytestDeprecationWarning: The hookimpl QtLoggingPlugin.pytest_runtest_makereport uses old-style configuration options (marks or attributes).
Please use the pytest.hookimpl(hookwrapper=True) decorator instead
 to configure the hooks.
 See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
  @pytest.mark.hookwrapper
========================================================================================== test session starts ==========================================================================================
platform freebsd13 -- Python 3.9.16, pytest-7.2.0, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/usr/ports/audio/py-pydub/work-py39/pydub-0.25.1/test/.hypothesis/examples')
Using --randomly-seed=4038879656
PyQt5 5.15.7 -- Qt runtime 5.15.7 -- Qt compiled 5.15.7
rootdir: /usr/ports/audio/py-pydub/work-py39/pydub-0.25.1
plugins: forked-1.4.0, hypothesis-6.58.0, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, env-0.6.2, xdist-2.5.0, freezegun-0.4.2, mock-1.10.4, checkdocs-2.9.0, black-0.3.12, mypy-0.10.1, flake8-1.1.1, qt-4.1.0, enabler-1.3.0, nbval-0.10.0
collected 0 items                                                                                                                                                                                       

========================================================================================= no tests ran in 0.27s =========================================================================================
*** Error code 5

Your System configuration