pytest exit code 5 is "No tests were collected".
https://docs.pytest.org/en/7.1.x/reference/exit-codes.html
Did you add a test file? If so, are the tests in a form that pytest will discover them?
Martin. KD6YAM
On Wed, Nov 13, 2024 at 11:17 AM Declan Rieb via Developers < developers@lists.chirpmyradio.com> wrote:
For new elecraft driver… I can read and display radio memories. Can’t set ‘em yet. BUT:
I’ve started tox running successfully, and it starts up workers and generating an html report. It describes >1000 warnings, and then gives an exit 5. The html contains preface but no results.
I’ve NO idea what is causing it to die. Is there a timeout (it takes 10s of seconds to read the memories)?
Error is ... 8 workers [0 items] scheduling tests via LoadScheduling
--- Generated html report: file:///Users/declan/darchirp/driver_report.html ---- =========================== 1139 warnings in 16.93s ============================ driver: exit 5 (17.43 seconds) /Users/declan/darchirp> pytest --disable-warnings --html=driver_report.html -v tests/test_drivers.py -n auto -k Yaesu_Elecraft_KX3 pid=77757 .pkg: _exit> python /usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ driver: FAIL code 5 (28.39=setup[10.96]+cmd[17.43] seconds) evaluation failed :( (28.55 seconds)
Developers mailing list -- developers@lists.chirpmyradio.com To unsubscribe send an email to developers-leave@lists.chirpmyradio.com