Fix warnings.

This commit is contained in:
Sergey Vartanov 2021-10-11 01:13:55 +03:00
parent b358e56223
commit 1be9906baf
6 changed files with 13 additions and 11 deletions

View file

@ -25,4 +25,6 @@ def test_compute_angle() -> None:
def test_turn_by_compute_angle() -> None:
"""Test turing one angle by another."""
assert np.allclose(turn_by_angle((1, 0), np.pi / 2), np.array((0, 1)))
assert np.allclose(
turn_by_angle(np.array((1, 0)), np.pi / 2), np.array((0, 1))
)