diff --git a/kasa/tests/test_smartdevice.py b/kasa/tests/test_smartdevice.py index d7b1cca9..306a4b3d 100644 --- a/kasa/tests/test_smartdevice.py +++ b/kasa/tests/test_smartdevice.py @@ -99,6 +99,6 @@ async def test_update_module_queries(dev: SmartDevice, mocker: MockerFixture): await dev.update() full_query: Dict[str, Any] = {} for mod in dev.modules.values(): - full_query |= mod.query() + full_query = {**full_query, **mod.query()} query.assert_called_with(full_query)