Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 31, 2020
1 parent 0c566f4 commit 15df8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/util/src/opentelemetry/test/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)

Expand Down

0 comments on commit 15df8a0

Please sign in to comment.