Skip to content

Commit

Permalink
Fix typo in opentelemetry-sdk/tests/logs/test_handler.TestLoggingHand…
Browse files Browse the repository at this point in the history
…ler.test_log_exc_info_false

 Please enter the commit message for your changes. Lines starting
  • Loading branch information
hyoinandout committed Aug 14, 2024
1 parent 9a20504 commit 2b9ea92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/tests/logs/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2b9ea92

Please sign in to comment.