diff --git a/src/python/grpcio_tests/tests/unit/_absl_log_test.py b/src/python/grpcio_tests/tests/unit/_absl_log_test.py index 6998e0b03efe9..d02266911e6cc 100644 --- a/src/python/grpcio_tests/tests/unit/_absl_log_test.py +++ b/src/python/grpcio_tests/tests/unit/_absl_log_test.py @@ -16,9 +16,9 @@ import os import subprocess import sys +import time import unittest -import time class AbslLogTest(unittest.TestCase): @@ -51,7 +51,10 @@ def test_no_absl_log_warning(self): "WARNING: All log messages before absl::InitializeLog() is called" " are written to STDERR" ) - self.assertFalse(absl_warning in self.output, f"absl::InitializeLog() warning unexpectedly found in output:\n{self.output}") + self.assertFalse( + absl_warning in self.output, + f"absl::InitializeLog() warning unexpectedly found in output:\n{self.output}", + ) def test_grpc_trace_log(self): """Checks that the expected grpc trace messages are in the log""" @@ -72,7 +75,7 @@ def test_grpc_trace_log(self): self.assertTrue( not missing_traces, f"Missing expected api trace(s) {missing_traces}, in output:\n" - f"{self.output}" + f"{self.output}", )