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

cd4c38
diff -Naur grpc-1.36.4-original/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py grpc-1.36.4/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
cd4c38
--- grpc-1.36.4-original/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py	2021-03-17 15:59:05.000000000 -0400
cd4c38
+++ grpc-1.36.4/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py	2021-03-22 16:39:05.558398948 -0400
cd4c38
@@ -234,9 +234,7 @@
cd4c38
 
cd4c38
     def setUp(self):
cd4c38
         self._thread_pool = thread_pool.RecordingThreadPool(max_workers=None)
cd4c38
-        super(HealthServicerTest,
cd4c38
-              self).start_server(non_blocking=True,
cd4c38
-                                 thread_pool=self._thread_pool)
cd4c38
+        super().start_server(non_blocking=True, thread_pool=self._thread_pool)
cd4c38
 
cd4c38
     def test_check_empty_service(self):
cd4c38
         request = health_pb2.HealthCheckRequest()
cd4c38
@@ -273,8 +271,7 @@
cd4c38
 class HealthServicerBackwardsCompatibleWatchTest(BaseWatchTests.WatchTests):
cd4c38
 
cd4c38
     def setUp(self):
cd4c38
-        super(HealthServicerBackwardsCompatibleWatchTest,
cd4c38
-              self).start_server(non_blocking=False, thread_pool=None)
cd4c38
+        super().start_server(non_blocking=False, thread_pool=None)
cd4c38
 
cd4c38
 
cd4c38
 if __name__ == '__main__':
cd4c38
diff -Naur grpc-1.36.4-original/src/python/grpcio_tests/tests/protoc_plugin/_python_plugin_test.py grpc-1.36.4/src/python/grpcio_tests/tests/protoc_plugin/_python_plugin_test.py
cd4c38
--- grpc-1.36.4-original/src/python/grpcio_tests/tests/protoc_plugin/_python_plugin_test.py	2021-03-17 15:59:05.000000000 -0400
cd4c38
+++ grpc-1.36.4/src/python/grpcio_tests/tests/protoc_plugin/_python_plugin_test.py	2021-03-22 16:39:05.559398954 -0400
cd4c38
@@ -532,7 +532,7 @@
cd4c38
                 request_iterator, context)
cd4c38
 
cd4c38
     def setUp(self):
cd4c38
-        super(SimpleStubsPluginTest, self).setUp()
cd4c38
+        super().setUp()
cd4c38
         self._server = test_common.test_server()
cd4c38
         service_pb2_grpc.add_TestServiceServicer_to_server(
cd4c38
             self.Servicer(), self._server)
cd4c38
@@ -542,7 +542,7 @@
cd4c38
 
cd4c38
     def tearDown(self):
cd4c38
         self._server.stop(None)
cd4c38
-        super(SimpleStubsPluginTest, self).tearDown()
cd4c38
+        super().tearDown()
cd4c38
 
cd4c38
     def testUnaryCall(self):
cd4c38
         request = request_pb2.SimpleRequest(response_size=13)