Drop python3.8 support (#992)

Drop support for soon-to-be eol'd python 3.8.
This will allow some minor cleanups & makes it easier to add support for
timezones.

Related to
https://github.com/python-kasa/python-kasa/issues/980#issuecomment-2170889543
This commit is contained in:
Teemu R
2024-06-19 20:24:12 +02:00
committed by GitHub
parent 416d3118bf
commit 472008e818
16 changed files with 102 additions and 122 deletions

View File

@@ -91,9 +91,10 @@ async def test_state_info(dev):
@pytest.mark.requires_dummy
@device_iot
async def test_invalid_connection(mocker, dev):
with mocker.patch.object(
FakeIotProtocol, "query", side_effect=KasaException
), pytest.raises(KasaException):
with (
mocker.patch.object(FakeIotProtocol, "query", side_effect=KasaException),
pytest.raises(KasaException),
):
await dev.update()