diff --git a/packages/google-cloud-tasks/synth.py b/packages/google-cloud-tasks/synth.py index 7781cb994b55..0bb5ff379c44 100644 --- a/packages/google-cloud-tasks/synth.py +++ b/packages/google-cloud-tasks/synth.py @@ -42,15 +42,6 @@ s.replace("google/cloud/*/types/target.py", "X-Google-\*", "X-Google-\\*") s.replace("google/cloud/*/types/target.py", "X-AppEngine-\*", "X-AppEngine-\\*") -# Bug with test_iam_permissions adding permissions twice -# https://github.com/googleapis/gapic-generator-python/issues/778 -s.replace( - "google/cloud/**/client.py", - """\s+if permissions: -\s+request\.permissions\.extend\(permissions\)""", - "", -) - # ---------------------------------------------------------------------------- # Add templated files # ----------------------------------------------------------------------------