We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29cff31 commit 9a945dcCopy full SHA for 9a945dc
tests/test_transport.py
@@ -278,14 +278,14 @@ def test_http2_with_https_dsn(make_client):
278
client = make_client(_experiments={"transport_http2": True})
279
client.transport.parsed_dsn.scheme = "https"
280
options = client.transport._get_pool_options()
281
- assert options["http2"] == True
+ assert options["http2"] is True
282
283
284
def test_no_http2_with_http_dsn(make_client):
285
286
client.transport.parsed_dsn.scheme = "http"
287
288
- assert options["http2"] == False
+ assert options["http2"] is False
289
290
291
def test_socket_options_override_keep_alive(make_client):
0 commit comments