diff --git a/tests/test_otel.py b/tests/test_otel.py index 8a216f26..3c43b1cc 100644 --- a/tests/test_otel.py +++ b/tests/test_otel.py @@ -178,7 +178,7 @@ def test_response_and_span_attributes( f"niquests/{niquests.__version__}" ) assert get_attr(span, "http.request_content_length") == 0 - assert get_attr(span, "http.response_content_length") == (len(r.text)) + assert get_attr(span, "http.response_content_length") == len(r.text) assert get_attr(span, "http.status_code") == status assert get_attr(span, "net.host.name") == "localhost" assert get_attr(span, "net.host.port") == port