From 2b9ea92e223db8a88b5d3606eeab9847243da538 Mon Sep 17 00:00:00 2001 From: hyoinandout Date: Wed, 14 Aug 2024 11:08:49 +0900 Subject: [PATCH] Fix typo in opentelemetry-sdk/tests/logs/test_handler.TestLoggingHandler.test_log_exc_info_false Please enter the commit message for your changes. Lines starting --- opentelemetry-sdk/tests/logs/test_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentelemetry-sdk/tests/logs/test_handler.py b/opentelemetry-sdk/tests/logs/test_handler.py index 146e4b95b08..3886c9996a9 100644 --- a/opentelemetry-sdk/tests/logs/test_handler.py +++ b/opentelemetry-sdk/tests/logs/test_handler.py @@ -137,7 +137,7 @@ def test_log_record_user_attributes(self): # so only check that the attribute is present. self.assertTrue(SpanAttributes.CODE_LINENO in log_record.attributes) self.assertTrue(isinstance(log_record.attributes, BoundedAttributes)) - + def test_log_record_exception(self): """Exception information will be included in attributes""" processor, logger = set_up_test_logging(logging.ERROR) @@ -170,7 +170,7 @@ def test_log_record_exception(self): self.assertTrue(__file__ in stack_trace) def test_log_exc_info_false(self): - """Exception information will be included in attributes""" + """Exception information will not be included in attributes""" processor, logger = set_up_test_logging(logging.NOTSET) try: