Skip to content

Commit 5b3c4b0

Browse files
committed
remove non-required multi inheritance
1 parent 55fddbb commit 5b3c4b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def test_sub_app_fastapi_call(self):
259259
)
260260

261261

262-
class TestFastAPIManualInstrumentation(TestBaseManualFastAPI, TestBase):
262+
class TestFastAPIManualInstrumentation(TestBaseManualFastAPI):
263263
def test_instrument_app_with_instrument(self):
264264
if not isinstance(self, TestAutoInstrumentation):
265265
self._instrumentor.instrument()
@@ -499,7 +499,7 @@ async def _():
499499
return app
500500

501501

502-
class TestFastAPIManualInstrumentationHooks(TestBaseManualFastAPI, TestBase):
502+
class TestFastAPIManualInstrumentationHooks(TestBaseManualFastAPI):
503503
_server_request_hook = None
504504
_client_request_hook = None
505505
_client_response_hook = None
@@ -549,7 +549,7 @@ def client_response_hook(send_span, scope, message):
549549
)
550550

551551

552-
class TestAutoInstrumentation(TestBaseAutoFastAPI, TestBase):
552+
class TestAutoInstrumentation(TestBaseAutoFastAPI):
553553
"""Test the auto-instrumented variant
554554
555555
Extending the manual instrumentation as most test cases apply
@@ -663,7 +663,7 @@ def test_sub_app_fastapi_call(self):
663663
)
664664

665665

666-
class TestAutoInstrumentationHooks(TestBaseAutoFastAPI, TestBase):
666+
class TestAutoInstrumentationHooks(TestBaseAutoFastAPI):
667667
"""
668668
Test the auto-instrumented variant for request and response hooks
669669

0 commit comments

Comments
 (0)