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 91d41d7 commit 3eed921Copy full SHA for 3eed921
instrumentation/opentelemetry-instrumentation-psycopg2/tests/test_psycopg2_instrumentation.py
@@ -95,9 +95,8 @@ def test_instrumentation_dependencies_both_installed(
95
instrumentation = Psycopg2Instrumentor()
96
97
def _distribution(name):
98
- # Function raises PackageNotFoundError
99
- # if name is not in the list. We will
100
- # not raise it for both names
+ # The function returns None here for all names
+ # to simulate both packages being installed
101
return None
102
103
mock_distribution.side_effect = _distribution
0 commit comments