From cacee0b5998eb74550564c1ce942c216c7798bd9 Mon Sep 17 00:00:00 2001 From: Nicholas Nadeau Date: Mon, 22 Aug 2022 22:24:45 -0400 Subject: [PATCH] fix: typing --- tests/test_kinematic_chain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_kinematic_chain.py b/tests/test_kinematic_chain.py index dfc8ff2f..a82e8e30 100644 --- a/tests/test_kinematic_chain.py +++ b/tests/test_kinematic_chain.py @@ -11,7 +11,7 @@ def test_init() -> None: """Test.""" # test error with raises(PyboticsError): - MDHKinematicChain(np.eye(5)) + MDHKinematicChain(np.eye(5)) # type: ignore # test sequence of links MDHKinematicChain([RevoluteMDHLink()]) @@ -28,7 +28,7 @@ def test_vector() -> None: """Test.""" link = RevoluteMDHLink() kc = MDHKinematicChain([link]) - np.testing.assert_allclose(kc.vector, link.vector) + np.testing.assert_allclose(kc.vector, link.vector)# type: ignore def test_repr() -> None: @@ -49,7 +49,7 @@ def test_links_setter() -> None: """Test.""" link = RevoluteMDHLink() kc = MDHKinematicChain([link]) - kc.links = link + kc.links = [link] def test_ndof() -> None: