Appease the yapf gods

pull/17064/head
Richard Belleville 6 years ago
parent 78eae493b4
commit dc05e31ff1
  1. 3
      src/python/grpcio_tests/tests/unit/_logging_test.py

@ -58,7 +58,8 @@ class LoggingTest(unittest.TestCase):
intended_stream = six.StringIO() intended_stream = six.StringIO()
logging.basicConfig(stream=intended_stream) logging.basicConfig(stream=intended_stream)
self.assertEqual(1, len(logging.getLogger().handlers)) self.assertEqual(1, len(logging.getLogger().handlers))
self.assertTrue(logging.getLogger().handlers[0].stream is intended_stream) self.assertTrue(
logging.getLogger().handlers[0].stream is intended_stream)
finally: finally:
reload_module(logging) reload_module(logging)

Loading…
Cancel
Save