mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-18 21:38:02 +00:00
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:
@@ -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()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user