Skip to content

Commit

Permalink
Merge pull request #3043 from daspecster/rename-deprecated-assertions
Browse files Browse the repository at this point in the history
Rename deprecated assertEquals to assertEqual.
  • Loading branch information
dhermes authored Feb 20, 2017
2 parents 91c56a7 + 84eb322 commit b2752e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-monitoring/unit_tests/test_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def test_to_dict(self):
'type': TYPE,
'labels': LABELS,
}
self.assertEquals(metric._to_dict(), expected_dict)
self.assertEqual(metric._to_dict(), expected_dict)


class _Connection(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def test_to_dict(self):
'type': TYPE,
'labels': LABELS,
}
self.assertEquals(resource._to_dict(), expected_dict)
self.assertEqual(resource._to_dict(), expected_dict)


class _Connection(object):
Expand Down

0 comments on commit b2752e5

Please sign in to comment.