From 17592fe9189f7f62cb9abbb81c3025a6c1caacb0 Mon Sep 17 00:00:00 2001 From: Maksim Sadym Date: Fri, 8 Nov 2024 18:10:20 +0100 Subject: [PATCH] fix flake8 --- tools/webdriver/webdriver/bidi/modules/bluetooth.py | 2 +- .../tests/bidi/external/bluetooth/simulate_adapter/context.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/webdriver/webdriver/bidi/modules/bluetooth.py b/tools/webdriver/webdriver/bidi/modules/bluetooth.py index 1f32044f404cd9..1013d28e8c644f 100644 --- a/tools/webdriver/webdriver/bidi/modules/bluetooth.py +++ b/tools/webdriver/webdriver/bidi/modules/bluetooth.py @@ -1,4 +1,4 @@ -from typing import Any, Mapping, MutableMapping +from typing import Any, Mapping from ._module import BidiModule, command diff --git a/webdriver/tests/bidi/external/bluetooth/simulate_adapter/context.py b/webdriver/tests/bidi/external/bluetooth/simulate_adapter/context.py index dc9e9a587376f4..ef56a33219ce0e 100644 --- a/webdriver/tests/bidi/external/bluetooth/simulate_adapter/context.py +++ b/webdriver/tests/bidi/external/bluetooth/simulate_adapter/context.py @@ -14,6 +14,6 @@ async def test_contexts_are_isolated(bidi_session, top_context, test_page): await set_simulate_adapter(bidi_session, another_browsing_context, test_page, "absent") - assert await get_bluetooth_availability(bidi_session, top_context) == True + assert await get_bluetooth_availability(bidi_session, top_context) is True assert await get_bluetooth_availability(bidi_session, - another_browsing_context) == False + another_browsing_context) is False