Skip to content

Commit 9a945dc

Browse files
committed
fix lint
1 parent 29cff31 commit 9a945dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_transport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,14 +278,14 @@ def test_http2_with_https_dsn(make_client):
278278
client = make_client(_experiments={"transport_http2": True})
279279
client.transport.parsed_dsn.scheme = "https"
280280
options = client.transport._get_pool_options()
281-
assert options["http2"] == True
281+
assert options["http2"] is True
282282

283283

284284
def test_no_http2_with_http_dsn(make_client):
285285
client = make_client(_experiments={"transport_http2": True})
286286
client.transport.parsed_dsn.scheme = "http"
287287
options = client.transport._get_pool_options()
288-
assert options["http2"] == False
288+
assert options["http2"] is False
289289

290290

291291
def test_socket_options_override_keep_alive(make_client):

0 commit comments

Comments
 (0)