Skip to content

Commit 715c637

Browse files
committed
fix faulty test
1 parent 326eb0a commit 715c637

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_transport.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def mock_transaction_envelope(span_count: int) -> Envelope:
8383
@pytest.mark.parametrize("use_pickle", (True, False))
8484
@pytest.mark.parametrize("compression_level", (0, 9, None))
8585
@pytest.mark.parametrize("compression_algo", ("gzip", "br", "<invalid>", None))
86-
@pytest.mark.parametrize("http2", [True, False] if PY38 else [False])
86+
@pytest.mark.parametrize("http2", [None, False])
8787
def test_transport_works(
8888
capturing_server,
8989
request,
@@ -106,11 +106,9 @@ def test_transport_works(
106106
if compression_algo is not None:
107107
experiments["transport_compression_algo"] = compression_algo
108108

109-
if not http2:
110-
experiments["http2"] = False
111-
112109
client = make_client(
113110
debug=debug,
111+
http2=http2,
114112
_experiments=experiments,
115113
)
116114

0 commit comments

Comments
 (0)