Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
engnadeau committed Aug 23, 2022
1 parent 678ce55 commit cacee0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_kinematic_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()])
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit cacee0b

Please sign in to comment.