mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	preen
This commit is contained in:
		| @@ -29,7 +29,7 @@ async def test_scheduler_heap_stress( | |||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     # Create a future to signal test completion |     # Create a future to signal test completion | ||||||
|     loop = asyncio.get_event_loop() |     loop = asyncio.get_running_loop() | ||||||
|     test_complete_future: asyncio.Future[None] = loop.create_future() |     test_complete_future: asyncio.Future[None] = loop.create_future() | ||||||
|  |  | ||||||
|     # Track executed timeouts/intervals and their order |     # Track executed timeouts/intervals and their order | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ async def test_scheduler_rapid_cancellation( | |||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     # Create a future to signal test completion |     # Create a future to signal test completion | ||||||
|     loop = asyncio.get_event_loop() |     loop = asyncio.get_running_loop() | ||||||
|     test_complete_future: asyncio.Future[None] = loop.create_future() |     test_complete_future: asyncio.Future[None] = loop.create_future() | ||||||
|  |  | ||||||
|     # Track test progress |     # Track test progress | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ async def test_scheduler_recursive_timeout( | |||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     # Create a future to signal test completion |     # Create a future to signal test completion | ||||||
|     loop = asyncio.get_event_loop() |     loop = asyncio.get_running_loop() | ||||||
|     test_complete_future: asyncio.Future[None] = loop.create_future() |     test_complete_future: asyncio.Future[None] = loop.create_future() | ||||||
|  |  | ||||||
|     # Track execution sequence |     # Track execution sequence | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ async def test_scheduler_simultaneous_callbacks( | |||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     # Create a future to signal test completion |     # Create a future to signal test completion | ||||||
|     loop = asyncio.get_event_loop() |     loop = asyncio.get_running_loop() | ||||||
|     test_complete_future: asyncio.Future[None] = loop.create_future() |     test_complete_future: asyncio.Future[None] = loop.create_future() | ||||||
|  |  | ||||||
|     # Track test progress |     # Track test progress | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user