reviews: removing test for deprecation

This commit is contained in:
Levi Vasconcelos 2024-02-26 16:15:30 -03:00
parent 9b50c92ec0
commit 5e7463dc73
1 changed files with 1 additions and 11 deletions

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,)
)