From 0b34d6d20ffc5e47b694096ec07c35feb5af801e Mon Sep 17 00:00:00 2001 From: Eric Cousineau Date: Sun, 6 Sep 2020 12:38:42 -0400 Subject: [PATCH] test_smart_ptr: Isolate testing coverage error --- tests/test_smart_ptr.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_smart_ptr.py b/tests/test_smart_ptr.py index 63d9171b59..8c7716fa8e 100644 --- a/tests/test_smart_ptr.py +++ b/tests/test_smart_ptr.py @@ -291,14 +291,15 @@ def test_unique_ptr_arg(): pass_through_list = [ m.unique_ptr_pass_through, - m.unique_ptr_pass_through_cast_from_py, - m.unique_ptr_pass_through_move_from_py, m.unique_ptr_pass_through_move_to_py, m.unique_ptr_pass_through_cast_to_py, + # TODO(eric.cousineau): Fix these cases. + # m.unique_ptr_pass_through_cast_from_py, + # m.unique_ptr_pass_through_move_from_py, ] for pass_through in pass_through_list: obj = m.UniquePtrHeld(1) - obj_ref = m.unique_ptr_pass_through(obj) + obj_ref = pass_through(obj) assert stats.alive() == 1 assert obj.value() == 1 assert obj == obj_ref