Skip to content

Commit 05487fa

Browse files
committed
fix spellcheck
1 parent 2746271 commit 05487fa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lambda-layer/src/tests/test_lambda_instrumentation.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def mock_aws_lambda_exec_wrapper():
104104

105105
# NOTE: Because we run as a subprocess, the python packages are NOT patched
106106
# with instrumentation. In this test we just make sure we can complete auto
107-
# instrumentation without error and the correct environment variabels are
107+
# instrumentation without error and the correct environment variables are
108108
# set. A future improvement might have us run `opentelemetry-instrument` in
109109
# this process to imitate `otel-instrument`, but our lambda handler does not
110110
# call other instrumented libraries so we have no use for it for now.
@@ -259,9 +259,7 @@ def test_parent_context_from_lambda_event(self):
259259
"headers": {
260260
TraceContextTextMapPropagator._TRACEPARENT_HEADER_NAME: MOCK_W3C_TRACE_CONTEXT_SAMPLED,
261261
TraceContextTextMapPropagator._TRACESTATE_HEADER_NAME: f"{MOCK_W3C_TRACE_STATE_KEY}={MOCK_W3C_TRACE_STATE_VALUE},foo=1,bar=2",
262-
}
263-
}
264-
)
262+
}})
265263

266264
spans = self.memory_exporter.get_finished_spans()
267265

0 commit comments

Comments
 (0)