instrumentation: drop dead code from aiohttp-client tests (#2625)

This commit is contained in:
Riccardo Magliocchetti
2024-06-20 19:42:48 +02:00
committed by GitHub
parent feed69bcc7
commit 41ca9027a8

View File

@ -14,7 +14,6 @@
import asyncio
import contextlib
import sys
import typing
import unittest
import urllib.parse
@ -117,10 +116,6 @@ class TestAioHttpIntegration(TestBase):
)
url = f"http://{host}:{port}/test-path?query=param#foobar"
# if python version is < 3.8, then the url will be
if sys.version_info[1] < 8:
url = f"http://{host}:{port}/test-path#foobar"
self.assert_spans(
[
(