File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opentelemetry-instrumentation/tests/auto_instrumentation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,23 +24,23 @@ def tearDownClass(cls):
24
24
def test_unset (self ):
25
25
if environ .get ("PYTHONPATH" ):
26
26
del environ ["PYTHONPATH" ] # enforce remove key/value from environ
27
- from opentelemetry .instrumentation .auto_instrumentation import (
27
+ from opentelemetry .instrumentation .auto_instrumentation import ( # noqa
28
28
sitecustomize ,
29
29
)
30
30
31
31
self .assertEqual (environ .get ("PYTHONPATH" ), None )
32
32
33
33
@patch .dict ("os.environ" , {"PYTHONPATH" : "" })
34
34
def test_empty (self ):
35
- from opentelemetry .instrumentation .auto_instrumentation import (
35
+ from opentelemetry .instrumentation .auto_instrumentation import ( # noqa
36
36
sitecustomize ,
37
37
)
38
38
39
39
self .assertEqual (environ ["PYTHONPATH" ], "" )
40
40
41
41
@patch .dict ("os.environ" , {"PYTHONPATH" : "abc" })
42
42
def test_set (self ):
43
- from opentelemetry .instrumentation .auto_instrumentation import (
43
+ from opentelemetry .instrumentation .auto_instrumentation import ( # noqa
44
44
sitecustomize ,
45
45
)
46
46
You can’t perform that action at this time.
0 commit comments