reviews: removing test for deprecation

This commit is contained in:
Levi Vasconcelos committed 2024-02-26 17:41:10 -03:00
1 parent 9b50c92ec0
commit 5e7463dc73
1 file changed
+1 -11
+1 -11
View File
@@ -89,14 +89,4 @@ def test_polygon_zone_trigger(
with exception:
in_zone = polygon_zone.trigger(detections)
assert np.all(in_zone == expected_results)
def test_polygon_zone_deprecated() -> None:
with pytest.deprecated_call():
sv.PolygonZone(
POLYGON, FRAME_RESOLUTION, triggering_position=sv.Position.CENTER
)
with DoesNotRaise():
sv.PolygonZone(
POLYGON, FRAME_RESOLUTION, triggering_anchors=(sv.Position.CENTER,)
)