Skip to content

Commit 62b5643

Browse files
committed
lint fixes
1 parent 8e789a6 commit 62b5643

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/ssl_context_test.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ def test_connect_wiznet5k_https_not_supported( # pylint: disable=unused-argumen
5353
mock_pool = mocket.MocketPool()
5454
radio = mocket.MockRadio.WIZNET5K()
5555
old_version = (WIZNET5K_SSL_SUPPORT_VERSION[0] - 1, 0, 0)
56-
with mock.patch(
57-
"sys.implementation",
58-
(None, old_version)
59-
):
56+
with mock.patch("sys.implementation", (None, old_version)):
6057
ssl_context = adafruit_connection_manager.get_radio_ssl_context(radio)
6158
connection_manager = adafruit_connection_manager.ConnectionManager(mock_pool)
6259

@@ -72,9 +69,6 @@ def test_connect_wiznet5k_https_supported( # pylint: disable=unused-argument
7269
adafruit_wiznet5k_with_ssl_socket_module,
7370
):
7471
radio = mocket.MockRadio.WIZNET5K()
75-
with mock.patch(
76-
"sys.implementation",
77-
(None, WIZNET5K_SSL_SUPPORT_VERSION)
78-
):
72+
with mock.patch("sys.implementation", (None, WIZNET5K_SSL_SUPPORT_VERSION)):
7973
ssl_context = adafruit_connection_manager.get_radio_ssl_context(radio)
8074
assert isinstance(ssl_context, ssl.SSLContext)

0 commit comments

Comments
 (0)