Try method from PHP-code #1029
verify.yml
on: push
Prepare
55s
Matrix: prepare-test-cache
Matrix: pytest
Process test complexity
0s
Build and publish Python 🐍 distributions 📦 to TestPyPI
0s
Annotations
9 errors and 1 warning
|
Run pytest using Python 3.11:
tests/test_usb.py#L907
TestStick.test_energy_circle
assert 21.434671463946295 == 21.2780505980402
+ where 21.434671463946295 = PowerStatistics(last_second=21.434671463946295, last_8_seconds=27.308141853592673, timestamp=datetime.datetime(2025, 2, 21, 8, 36, 17, 523231, tzinfo=datetime.timezone.utc)).last_second
|
|
Run pytest using Python 3.11
Event loop is closed
|
|
Run pytest using Python 3.11
Event loop is closed
|
|
Run pytest using Python 3.11
Event loop is closed
|
|
Run pytest using Python 3.11
Process completed with exit code 1.
|
|
Run pytest using Python 3.12
The job was canceled because "_3_11" failed.
|
|
Run pytest using Python 3.12:
tests/test_usb.py#L907
TestStick.test_energy_circle
assert 21.434671463946295 == 21.2780505980402
+ where 21.434671463946295 = PowerStatistics(last_second=21.434671463946295, last_8_seconds=27.308141853592673, timestamp=datetime.datetime(2025, 2, 21, 8, 36, 19, 851379, tzinfo=datetime.timezone.utc)).last_second
|
|
Run pytest using Python 3.12
Event loop is closed
|
|
Run pytest using Python 3.12
The operation was canceled.
|
|
Run pytest using Python 3.12:
venv/lib/python3.12/site-packages/_pytest/unraisableexception.py#L85
Exception ignored in: <coroutine object StickReceiver._message_queue_worker at 0x7f179d91c110>
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/queues.py", line 158, in get
await getter
GeneratorExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/plugwise_usb/connection/receiver.py", line 283, in _message_queue_worker
response: PlugwiseResponse = await self._message_queue.get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/queues.py", line 160, in get
getter.cancel() # Just in case getter is not done yet.
^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/base_events.py", line 799, in call_soon
self._check_closed()
File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/asyncio/base_events.py", line 545, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
|