Skip to content

Commit d4cd02b

Browse files
authored
Merge pull request #3686 from hsm207/patch-2
Fix DeprecationWarning
2 parents 51ea492 + 908742d commit d4cd02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

research/deeplab/model_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def testBuildDeepLabv2(self):
7878

7979
# Expected number of logits = len(image_pyramid) + 1, since the
8080
# last logits is merged from all the scales.
81-
self.assertEquals(len(scales_to_logits), expected_num_logits[i])
81+
self.assertEqual(len(scales_to_logits), expected_num_logits[i])
8282

8383
def testForwardpassDeepLabv3plus(self):
8484
crop_size = [33, 33]

0 commit comments

Comments
 (0)