Skip to content

Commit 694bf6c

Browse files
committed
Fix lint
1 parent b8181a0 commit 694bf6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

instrumentation/opentelemetry-instrumentation-pyramid/tests/pyramid_base_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
import pyramid.httpexceptions as exc
1616
from pyramid.response import Response
1717
from werkzeug.test import Client
18-
from werkzeug.wrappers import BaseResponse
18+
# opentelemetry-instrumentation-pyramid uses werkzeug==0.16.1 which has
19+
# werkzeug.wrappers.BaseResponse. This is not the case for newer versions of
20+
# werkzeug like the one lint uses.
21+
from werkzeug.wrappers import BaseResponse # pylint: disable=no-name-in-module
1922

2023

2124
class InstrumentationTest:

0 commit comments

Comments
 (0)