Blame SOURCES/grpc-1.26.0-python-grpcio_tests-fixture-super.patch
|
|
cc39db |
diff -Naur grpc-1.26.0-original/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py grpc-1.26.0/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
|
|
|
cc39db |
--- grpc-1.26.0-original/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py 2019-12-17 20:29:27.000000000 -0500
|
|
|
cc39db |
+++ grpc-1.26.0/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py 2021-03-15 09:15:08.419558680 -0400
|
|
|
cc39db |
@@ -235,8 +235,7 @@
|
|
|
cc39db |
|
|
|
cc39db |
def setUp(self):
|
|
|
cc39db |
self._thread_pool = thread_pool.RecordingThreadPool(max_workers=None)
|
|
|
cc39db |
- super(HealthServicerTest, self).start_server(
|
|
|
cc39db |
- non_blocking=True, thread_pool=self._thread_pool)
|
|
|
cc39db |
+ super().start_server(non_blocking=True, thread_pool=self._thread_pool)
|
|
|
cc39db |
|
|
|
cc39db |
def test_check_empty_service(self):
|
|
|
cc39db |
request = health_pb2.HealthCheckRequest()
|
|
|
cc39db |
@@ -273,8 +272,7 @@
|
|
|
cc39db |
class HealthServicerBackwardsCompatibleWatchTest(BaseWatchTests.WatchTests):
|
|
|
cc39db |
|
|
|
cc39db |
def setUp(self):
|
|
|
cc39db |
- super(HealthServicerBackwardsCompatibleWatchTest, self).start_server(
|
|
|
cc39db |
- non_blocking=False, thread_pool=None)
|
|
|
cc39db |
+ super().start_server(non_blocking=False, thread_pool=None)
|
|
|
cc39db |
|
|
|
cc39db |
|
|
|
cc39db |
if __name__ == '__main__':
|