Avatar for the Bluetooth-Devices user
Bluetooth-Devices
dbus-fast
BlogDocsChangelog

test: Replace deprecated `event_loop` fixture

#482Merged
Comparing
mgorny:event-loop-fixture
(
3d27b8b
) with
main
(
cd0a09c
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
6
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_marshall_bluez_get_managed_objects_message
tests/benchmarks/test_marshall.py::test_marshall_bluez_get_managed_objects_message
CodSpeed Performance Gauge
0%
68.4 µs
68.2 µs
test_unmarshall_bluez_properties_message
tests/benchmarks/test_unmarshall.py::test_unmarshall_bluez_properties_message
CodSpeed Performance Gauge
0%
42.3 µs
42.2 µs
test_unmarshall_multiple_bluez_properties_message_socket
tests/benchmarks/test_unmarshall.py::test_unmarshall_multiple_bluez_properties_message_socket
CodSpeed Performance Gauge
0%
96.2 µs
96.6 µs
test_unmarshall_multiple_bluez_properties_message
tests/benchmarks/test_unmarshall.py::test_unmarshall_multiple_bluez_properties_message
CodSpeed Performance Gauge
-1%
95 µs
95.7 µs
test_unmarshall_bluez_rssi_message
tests/benchmarks/test_unmarshall.py::test_unmarshall_bluez_rssi_message
CodSpeed Performance Gauge
-1%
43.4 µs
43.9 µs
test_unmarshall_bluez_interfaces_added_message
tests/benchmarks/test_unmarshall.py::test_unmarshall_bluez_interfaces_added_message
CodSpeed Performance Gauge
-1%
65.2 µs
66 µs

Commits

Click on a commit to change the comparison range
Base
main
cd0a09c
-1%
test: replace deprecated `event_loop` fixture Replace the deprecated `event_loop` fixture with `asyncio.get_running_loop()` as recommended in pytest-asyncio documentation [1]. This fixes compatibility with >=pytest-asyncio-1.0.0 without breaking compatibility with older versions. [1] https://pytest-asyncio.readthedocs.io/en/stable/how-to-guides/migrate_from_0_21.html Signed-off-by: Michał Górny <mgorny@gentoo.org>
3d27b8b
2 days ago
by mgorny
© 2025 CodSpeed Technology
Home Terms Privacy Docs