Skip to content

Commit 910ceed

Browse files
tensorflower-gardenerTF Object Detection Team
authored andcommitted
remove deprecated assertDictContainsSubset
PiperOrigin-RevId: 716573448
1 parent 8f2c6a9 commit 910ceed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

research/object_detection/models/feature_map_generators_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def graph_fn():
513513
'top_down/clip_by_value_6'
514514
])
515515
op_names = {op.name: None for op in g.get_operations()}
516-
self.assertDictContainsSubset(expected_added_operations, op_names)
516+
self.assertEqual(op_names, {**op_names, **expected_added_operations})
517517

518518
@unittest.skipIf(tf_version.is_tf2(), 'Skipping TF1.X only test.')
519519
def test_use_bounded_activations_clip_value(

0 commit comments

Comments
 (0)