mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 04:34:01 +08:00
instrumentation: drop dead code from aiohttp-client tests (#2625)
This commit is contained in:

committed by
GitHub

parent
feed69bcc7
commit
41ca9027a8
@ -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(
|
||||
[
|
||||
(
|
||||
|
Reference in New Issue
Block a user