@@ -171,7 +171,7 @@ async def test_get_raw() -> Any:
171171 with VCR .use_cassette ("raw.yaml" ), time_travel (target ):
172172 awair = Awair (session = session , access_token = ACCESS_TOKEN )
173173 device = mock_awair_device (client = awair .client )
174- resp = await device .air_data_raw (from_date = ( target - timedelta (minutes = 30 ) ))
174+ resp = await device .air_data_raw (from_date = target - timedelta (minutes = 30 ))
175175
176176 assert resp [0 ].timestamp == datetime (2020 , 4 , 10 , 15 , 38 , 24 , 111000 )
177177 assert resp [0 ].score == 88.0
@@ -449,19 +449,19 @@ async def test_air_data_handles_datetime_limits() -> Any:
449449 now = datetime .now ()
450450
451451 with pytest .raises (vol .Invalid ):
452- await device .air_data_raw (from_date = ( now + timedelta (hours = 1 ) ))
452+ await device .air_data_raw (from_date = now + timedelta (hours = 1 ))
453453
454454 with pytest .raises (vol .Invalid ):
455455 await device .air_data_raw (from_date = False )
456456
457457 with pytest .raises (vol .Invalid ):
458- await device .air_data_raw (from_date = ( now - timedelta (hours = 2 ) ))
458+ await device .air_data_raw (from_date = now - timedelta (hours = 2 ))
459459
460460 with pytest .raises (vol .Invalid ):
461- await device .air_data_five_minute (from_date = ( now - timedelta (hours = 25 ) ))
461+ await device .air_data_five_minute (from_date = now - timedelta (hours = 25 ))
462462
463463 with pytest .raises (vol .Invalid ):
464- await device .air_data_fifteen_minute (from_date = ( now - timedelta (days = 8 ) ))
464+ await device .air_data_fifteen_minute (from_date = now - timedelta (days = 8 ))
465465
466466 with pytest .raises (vol .Invalid ):
467467 await device .air_data_fifteen_minute (
0 commit comments