Skip to content

Commit

Permalink
Use right object in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Feb 14, 2024
1 parent 41449c2 commit b219f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry-sdk/tests/logs/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_log_flush_noop(self):
no_op_logger_provider = NoOpLoggerProvider()
no_op_logger_provider.force_flush = Mock()

logger = get_logger(logger_provider=NoOpLoggerProvider())
logger = get_logger(logger_provider=no_op_logger_provider)

with self.assertLogs(level=logging.WARNING):
logger.warning("Warning message")
Expand Down

0 comments on commit b219f01

Please sign in to comment.