Skip to content

Commit 9d4f80b

Browse files
committed
fix assert
1 parent 4a5613f commit 9d4f80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-sdk/tests/logs/test_log_record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def test_log_record_deprecated_init_warning(self):
163163
self.assertEqual(len(cw), 1)
164164
self.assertIsInstance(cw[-1].message, LogDeprecatedInitWarning)
165165
self.assertIn(
166-
"LogRecord init with `trace_id`, `span_id`, and/or `trace_flags` is deprecated. Use `context` instead.",
166+
"LogRecord init with `trace_id`, `span_id`, and/or `trace_flags` is deprecated and will be removed in next versions. Use `context` instead.",
167167
str(cw[-1].message),
168168
)
169169

0 commit comments

Comments
 (0)