Skip to content

Commit e90b561

Browse files
authored
Merge pull request #3043 from daspecster/rename-deprecated-assertions
Rename deprecated assertEquals to assertEqual.
2 parents 86aac0f + 41abf9c commit e90b561

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/google-cloud-logging/unit_tests/handlers/transports/test_background_thread.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_ctor(self):
3535
client = _Client(self.PROJECT)
3636
NAME = 'python_logger'
3737
transport = self._make_one(client, NAME)
38-
self.assertEquals(transport.worker.logger.name, NAME)
38+
self.assertEqual(transport.worker.logger.name, NAME)
3939

4040
def test_send(self):
4141
client = _Client(self.PROJECT)
@@ -73,7 +73,7 @@ def test_ctor(self):
7373
NAME = 'python_logger'
7474
logger = _Logger(NAME)
7575
worker = self._make_one(logger)
76-
self.assertEquals(worker.batch, logger._batch)
76+
self.assertEqual(worker.batch, logger._batch)
7777

7878
def test_run(self):
7979
NAME = 'python_logger'

0 commit comments

Comments
 (0)