FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix non python 3.8 compliant test (#832) · python-kasa/python-kasa@0f3b291 · GitHub

Repository navigation

Commit 0f3b291

Browse files
authored
Fix non python 3.8 compliant test (#832)
1 parent c08b58c commit 0f3b291

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kasa/tests/test_smartdevice.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ async def test_update_module_queries(dev: SmartDevice, mocker: MockerFixture):
9999
await dev.update()
100100
full_query: Dict[str, Any] = {}
101101
for mod in dev.modules.values():
102-
full_query |= mod.query()
102+
full_query = {**full_query, **mod.query()}
103103

104104
query.assert_called_with(full_query)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL