From 6a3d14cde75903b39ecd5504947314f57f57e312 Mon Sep 17 00:00:00 2001 From: galthran-wq Date: Mon, 24 Feb 2025 14:41:48 +0300 Subject: [PATCH] Update test_extract_faces.py --- tests/test_extract_faces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_extract_faces.py b/tests/test_extract_faces.py index 3d36397..1ecaafa 100644 --- a/tests/test_extract_faces.py +++ b/tests/test_extract_faces.py @@ -217,7 +217,7 @@ def test_batch_extract_faces_with_nparray(detector_backend): ) # Check that the batch extraction returned the expected number of face lists - assert len(imgs_objs_batch) == 4 + assert len(imgs_objs_batch) == len(img_paths) for img_objs_batch, img_expected_num_faces in zip(imgs_objs_batch, expected_num_faces): assert len(img_objs_batch) == img_expected_num_faces