From da614b69ec1b76886c1ee171357683b8aa332411 Mon Sep 17 00:00:00 2001 From: Michael Stella Date: Tue, 22 Dec 2020 22:14:31 -0500 Subject: [PATCH] lint --- .../tests/test_datadog_format.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exporter/opentelemetry-exporter-datadog/tests/test_datadog_format.py b/exporter/opentelemetry-exporter-datadog/tests/test_datadog_format.py index e1cd08d022..3ce1e7fb0f 100644 --- a/exporter/opentelemetry-exporter-datadog/tests/test_datadog_format.py +++ b/exporter/opentelemetry-exporter-datadog/tests/test_datadog_format.py @@ -204,7 +204,6 @@ def test_fields(self, mock_get_current_span): self.assertEqual(FORMAT.fields, inject_fields) - @patch("opentelemetry.exporter.datadog.propagator.get_current_span") def test_trace_state_not_none(self, mock_get_current_span): """Make sure the fields attribute returns the fields used in inject""" @@ -237,6 +236,6 @@ def test_trace_state_not_none(self, mock_get_current_span): # verify 'x-datadog-origin' is not present, it was None expected_fields = FORMAT.fields.copy() - expected_fields.discard('x-datadog-origin') + expected_fields.discard("x-datadog-origin") self.assertEqual(expected_fields, inject_fields)