Skip to content

Pytest doesn't find any tests #68

@yurivict

Description

@yurivict
===>  Testing for py39-simpleaudio-1.0.4
===>   py39-simpleaudio-1.0.4 depends on package: py39-pytest>=7,1 - found
===>   py39-simpleaudio-1.0.4 depends on file: /usr/local/bin/python3.9 - found
cd /usr/ports/audio/py-simpleaudio/work-py39/py-simple-audio-1.0.4/tests && /usr/bin/env XDG_DATA_HOME=/usr/ports/audio/py-simpleaudio/work-py39  XDG_CONFIG_HOME=/usr/ports/audio/py-simpleaudio/work-py39  XDG_CACHE_HOME=/usr/ports/audio/py-simpleaudio/work-py39/.cache  HOME=/usr/ports/audio/py-simpleaudio/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/audio/py-simpleaudio/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-simpleaudio/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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-simpleaudio/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-simpleaudio/work-py39/py-simple-audio-1.0.4/tests/.hypothesis/examples')
Using --randomly-seed=3610387141
PyQt5 5.15.7 -- Qt runtime 5.15.7 -- Qt compiled 5.15.7
rootdir: /usr/ports/audio/py-simpleaudio/work-py39/py-simple-audio-1.0.4
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.25s =========================================================================================
*** Error code 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions