Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit cacee0b

Browse files
committed
fix: typing
1 parent 678ce55 commit cacee0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_kinematic_chain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_init() -> None:
1111
"""Test."""
1212
# test error
1313
with raises(PyboticsError):
14-
MDHKinematicChain(np.eye(5))
14+
MDHKinematicChain(np.eye(5)) # type: ignore
1515

1616
# test sequence of links
1717
MDHKinematicChain([RevoluteMDHLink()])
@@ -28,7 +28,7 @@ def test_vector() -> None:
2828
"""Test."""
2929
link = RevoluteMDHLink()
3030
kc = MDHKinematicChain([link])
31-
np.testing.assert_allclose(kc.vector, link.vector)
31+
np.testing.assert_allclose(kc.vector, link.vector)# type: ignore
3232

3333

3434
def test_repr() -> None:
@@ -49,7 +49,7 @@ def test_links_setter() -> None:
4949
"""Test."""
5050
link = RevoluteMDHLink()
5151
kc = MDHKinematicChain([link])
52-
kc.links = link
52+
kc.links = [link]
5353

5454

5555
def test_ndof() -> None:

0 commit comments

Comments
 (0)