diff --git a/google/auth/__init__.py b/google/auth/__init__.py index 2d6caec71..5f716442d 100644 --- a/google/auth/__init__.py +++ b/google/auth/__init__.py @@ -49,9 +49,6 @@ class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER "for Python 3.7. More details about Python 3.7 support " "can be found at https://cloud.google.com/python/docs/python37-sunset/" ) - - # Configure the Python37DeprecationWarning warning so that it is only emitted once. - warnings.simplefilter("once", Python37DeprecationWarning) warnings.warn(message, Python37DeprecationWarning) # Set default logging handler to avoid "No handler found" warnings. diff --git a/google/oauth2/__init__.py b/google/oauth2/__init__.py index 3ebf219fd..68524abca 100644 --- a/google/oauth2/__init__.py +++ b/google/oauth2/__init__.py @@ -35,6 +35,4 @@ class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER "for Python 3.7. More details about Python 3.7 support " "can be found at https://cloud.google.com/python/docs/python37-sunset/" ) - # Configure the Python37DeprecationWarning warning so that it is only emitted once. - warnings.simplefilter("once", Python37DeprecationWarning) warnings.warn(message, Python37DeprecationWarning) diff --git a/system_tests/secrets.tar.enc b/system_tests/secrets.tar.enc index e4c71790e..f9e694698 100644 Binary files a/system_tests/secrets.tar.enc and b/system_tests/secrets.tar.enc differ