Re-add unittest.main.

pull/19988/head
Richard Belleville 5 years ago
parent 84855a18a9
commit 235b27257c
  1. 5
      src/python/grpcio_tests/tests/unit/_signal_handling_test.py

@ -191,3 +191,8 @@ class SignalHandlingTest(unittest.TestCase):
client.wait() client.wait()
print(_read_stream(client_stderr)) print(_read_stream(client_stderr))
self.assertEqual(0, client.returncode) self.assertEqual(0, client.returncode)
if __name__ == '__main__':
logging.basicConfig()
unittest.main(verbosity=2)

Loading…
Cancel
Save