From fb209beb83d064b6bdf34182455f0d8a5d521f58 Mon Sep 17 00:00:00 2001 From: Munir Abdinur Date: Thu, 27 Jan 2022 17:02:50 -0500 Subject: [PATCH] fix: spantypes in ddtrace1.0 (#3192) fixes flake8 error introduced by a merge conflict ## Checklist - [ ] Added to the correct milestone. - [ ] Tests provided or description of manual testing performed is included in the code or PR. - [ ] Library documentation is updated. - [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR). --- ddtrace/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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