Stop inheriting from object. It's unneeded on Python 3+. (#8675)

This commit is contained in:
Mads Jensen
2021-02-25 14:59:00 -08:00
committed by GitHub
parent 135187f03e
commit 67c2b27af7
47 changed files with 58 additions and 58 deletions
@@ -76,7 +76,7 @@ class Authenticator(dns_common.DNSAuthenticator):
return _GoogleClient(self.conf('credentials'))
class _GoogleClient(object):
class _GoogleClient:
"""
Encapsulates all communication with the Google Cloud DNS API.
"""
+1 -1
View File
@@ -401,7 +401,7 @@ class GoogleClientTest(unittest.TestCase):
self.assertRaises(ServerNotFoundError, _GoogleClient.get_project_id)
class DummyResponse(object):
class DummyResponse:
"""
Dummy object to create a fake HTTPResponse (the actual one requires a socket and we only
need the status attribute)