mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-21 12:10:25 +00:00
Remove support for python <3.11 (#1273)
Python 3.11 ships with latest Debian Bookworm. pypy is not that widely used with this library based on statistics. It could be added back when pypy supports python 3.11.
This commit is contained in:
@@ -26,7 +26,7 @@ from .conftest import (
|
||||
|
||||
|
||||
@device_smart
|
||||
@pytest.mark.requires_dummy()
|
||||
@pytest.mark.requires_dummy
|
||||
async def test_try_get_response(dev: SmartDevice, caplog):
|
||||
mock_response: dict = {
|
||||
"get_device_info": SmartErrorCode.PARAMS_ERROR,
|
||||
@@ -38,7 +38,7 @@ async def test_try_get_response(dev: SmartDevice, caplog):
|
||||
|
||||
|
||||
@device_smart
|
||||
@pytest.mark.requires_dummy()
|
||||
@pytest.mark.requires_dummy
|
||||
async def test_update_no_device_info(dev: SmartDevice, mocker: MockerFixture):
|
||||
mock_response: dict = {
|
||||
"get_device_usage": {},
|
||||
|
||||
Reference in New Issue
Block a user