diff --git a/ddtrace/filters.py b/ddtrace/filters.py index 638f12ec61e..a30d3862504 100644 --- a/ddtrace/filters.py +++ b/ddtrace/filters.py @@ -80,4 +80,4 @@ def process_trace(self, trace): return trace local_root = trace[0]._local_root - return trace if local_root and local_root.span_type == SpanTypes.TEST.value else None + return trace if local_root and local_root.span_type == SpanTypes.TEST else None