From 6ef7bf31d34aa887c86b604f68a4afb48ecca20f Mon Sep 17 00:00:00 2001 From: ashishdatta Date: Sat, 7 Oct 2023 10:32:25 -0700 Subject: [PATCH] formatting --- test/detection/test_utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/detection/test_utils.py b/test/detection/test_utils.py index 5424bc15..09691adf 100644 --- a/test/detection/test_utils.py +++ b/test/detection/test_utils.py @@ -439,7 +439,9 @@ def test_filter_polygons_by_area( ) def test_process_roboflow_result( roboflow_result: dict, - expected_result: Tuple[np.ndarray, np.ndarray, np.ndarray, Optional[np.ndarray], np.ndarray], + expected_result: Tuple[ + np.ndarray, np.ndarray, np.ndarray, Optional[np.ndarray], np.ndarray + ], exception: Exception, ) -> None: with exception: @@ -454,6 +456,7 @@ def test_process_roboflow_result( np.array_equal(result[4], expected_result[4]) ) + @pytest.mark.parametrize( "xyxy, offset, expected_result, exception", [