Blame SOURCES/grpc-1.26.0-python-grpcio_tests-fixture-super.patch

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