Skip to content

Commit ccb97e5

Browse files
toumorokoshic24t
authored andcommitted
Test fix: removing use of ABC Span in API test (open-telemetry#375)
1 parent 7415679 commit ccb97e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-api/tests/context/propagation/test_tracecontexthttptextformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_format_not_supported(self):
180180
def test_propagate_invalid_context(self):
181181
"""Do not propagate invalid trace context."""
182182
output = {} # type:typing.Dict[str, str]
183-
FORMAT.inject(trace.Span(), dict.__setitem__, output)
183+
FORMAT.inject(trace.INVALID_SPAN, dict.__setitem__, output)
184184
self.assertFalse("traceparent" in output)
185185

186186
def test_tracestate_empty_header(self):

0 commit comments

Comments
 (0)