From 0f3b29183dde507d7cab6c271b923d684ecef7e2 Mon Sep 17 00:00:00 2001 From: Steven B <51370195+sdb9696@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:38:58 +0000 Subject: [PATCH] Fix non python 3.8 compliant test (#832) --- kasa/tests/test_smartdevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)