From 15df8a09246e4d2b8bb915e3f3d26b4cd826ff5c Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Wed, 29 Jul 2020 17:27:04 -0600 Subject: [PATCH] Fix lint --- tests/util/src/opentelemetry/test/test_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/util/src/opentelemetry/test/test_base.py b/tests/util/src/opentelemetry/test/test_base.py index a58cff20967..83660b2b18c 100644 --- a/tests/util/src/opentelemetry/test/test_base.py +++ b/tests/util/src/opentelemetry/test/test_base.py @@ -36,7 +36,7 @@ def setUpClass(cls): cls.tracer_provider, cls.memory_exporter = result # This is done because set_tracer_provider cannot override the # current tracer provider. - trace_api._TRACER_PROVIDER = None + trace_api._TRACER_PROVIDER = None # pylint: disable=protected-access trace_api.set_tracer_provider(cls.tracer_provider) cls.original_meter_provider = metrics_api.get_meter_provider() result = cls.create_meter_provider() @@ -47,7 +47,7 @@ def setUpClass(cls): def tearDownClass(cls): # This is done because set_tracer_provider cannot override the # current tracer provider. - trace_api._TRACER_PROVIDER = None + trace_api._TRACER_PROVIDER = None # pylint: disable=protected-access trace_api.set_tracer_provider(cls.original_tracer_provider) metrics_api.set_meter_provider(cls.original_meter_provider)