Skip to content

Commit b2e0132

Browse files
committed
fix assert
1 parent e08f29e commit b2e0132

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
@@ -164,7 +164,7 @@ def test_log_record_deprecated_init_warning(self):
164164
self.assertEqual(len(cw), 1)
165165
self.assertIsInstance(cw[-1].message, LogDeprecatedInitWarning)
166166
self.assertIn(
167-
"LogRecord init with `trace_id`, `span_id`, and/or `trace_flags` is deprecated. Use `context` instead.",
167+
"LogRecord init with `trace_id`, `span_id`, and/or `trace_flags` is deprecated and will be removed in next versions. Use `context` instead.",
168168
str(cw[-1].message),
169169
)
170170

0 commit comments

Comments
 (0)