Skip to content

Commit c7d8410

Browse files
committed
removed unused import
1 parent 1b33012 commit c7d8410

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_instrumentation_patch.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
import os
55
from logging import Logger, getLogger
66

7-
# pylint: disable=unused-import
8-
# flake8: noqa: F401
9-
import pkg_resources
10-
117
from amazon.opentelemetry.distro._utils import is_installed
128
from amazon.opentelemetry.distro.patches._resource_detector_patches import _apply_resource_detector_patches
139

aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_instrumentation_patch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
_LAMBDA_SOURCE_MAPPING_ID: str = "lambdaEventSourceMappingID"
3939

4040
# Patch names
41-
GET_DISTRIBUTION_PATCH: str = (
42-
"amazon.opentelemetry.distro.patches._instrumentation_patch.pkg_resources.get_distribution"
43-
)
41+
GET_DISTRIBUTION_PATCH: str = "amazon.opentelemetry.distro._utils.pkg_resources.get_distribution"
4442

4543

4644
class TestInstrumentationPatch(TestCase):

0 commit comments

Comments
 (0)