Skip to content

Commit 13f92b8

Browse files
committed
fix pytest skipif
1 parent 3154612 commit 13f92b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

subprojects/robotpy-wpimath/tests/geometry/test_rotation2d.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ def test_inequality() -> None:
7373
assert rot1 != rot2
7474

7575

76-
@pytest.mark.skipif(importlib.util.find_spec("numpy") is None)
76+
@pytest.mark.skipif(
77+
importlib.util.find_spec("numpy") is None, reason="numpy is not available"
78+
)
7779
def test_to_matrix() -> None:
7880
before = Rotation2d.fromDegrees(20.0)
7981
after = Rotation2d.fromMatrix(before.toMatrix())

0 commit comments

Comments
 (0)