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 3ae5123 commit 755089aCopy full SHA for 755089a
instrumentation/opentelemetry-instrumentation-boto/tests/test_boto_instrumentation.py
@@ -88,7 +88,7 @@ def test_not_recording(self):
88
mock_span.is_recording.return_value = False
89
mock_tracer.start_span.return_value = mock_span
90
mock_tracer.use_span.return_value.__enter__ = mock_span
91
- mock_tracer.use_span.return_value.__exit__ = mock_span
+ mock_tracer.use_span.return_value.__exit__ = True
92
with patch("opentelemetry.trace.get_tracer") as tracer:
93
tracer.return_value = mock_tracer
94
ec2 = boto.ec2.connect_to_region("us-west-2")
0 commit comments