mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-12 12:30:36 +00:00
Update python to 3.12 (#4815)
* Update python to 3.12 * Fix tests and deprecations * Fix other references to 3.11 * build.json doesn't exist
This commit is contained in:
@@ -110,7 +110,6 @@ async def test_bad_requests(
|
||||
fail_on_query_string,
|
||||
api_system,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
event_loop: asyncio.BaseEventLoop,
|
||||
) -> None:
|
||||
"""Test request paths that should be filtered."""
|
||||
|
||||
@@ -122,7 +121,7 @@ async def test_bad_requests(
|
||||
man_params = ""
|
||||
|
||||
http = urllib3.PoolManager()
|
||||
resp = await event_loop.run_in_executor(
|
||||
resp = await asyncio.get_running_loop().run_in_executor(
|
||||
None,
|
||||
http.request,
|
||||
"GET",
|
||||
|
||||
Reference in New Issue
Block a user