Skip to content

Commit 959698e

Browse files
authored
Update test_context.py
1 parent a0cec8f commit 959698e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry-api/tests/context/test_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ def test_load_runtime_context_default(self):
8585
self.assertIsInstance(ctx, ContextVarsRuntimeContext)
8686

8787
@patch.dict("os.environ", {OTEL_PYTHON_CONTEXT: "contextvars_context"})
88-
def test_load_runtime_context(self):
88+
def test_load_runtime_context(self): # type: ignore[misc]
8989
ctx = context._load_runtime_context() # pylint: disable=W0212
9090
self.assertIsInstance(ctx, ContextVarsRuntimeContext)
9191

9292
@patch.dict("os.environ", {OTEL_PYTHON_CONTEXT: "foo"})
93-
def test_load_runtime_context_fallback(self):
93+
def test_load_runtime_context_fallback(self): # type: ignore[misc]
9494
ctx = context._load_runtime_context() # pylint: disable=W0212
9595
self.assertIsInstance(ctx, ContextVarsRuntimeContext)

0 commit comments

Comments
 (0)