From 1ea2e10dda2b5f072bead4ac1b4401c3beb6a99c Mon Sep 17 00:00:00 2001 From: Arvind Rajan Date: Tue, 19 Mar 2024 08:44:22 +1100 Subject: [PATCH] Removing processing time check from unit test --- tests/test_fastanpr.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_fastanpr.py b/tests/test_fastanpr.py index e62b71e..fbfb0f9 100644 --- a/tests/test_fastanpr.py +++ b/tests/test_fastanpr.py @@ -44,12 +44,7 @@ async def test_image_3d(): ] ) async def test_image_4d(file: str, expected_plates: List[str]): - start = time.time() predicted_plates = (await fastanpr.run([image_path_to_ndarray(str(file))]))[0] - end = time.time() - - # processing time must be less than 1 s - assert (end - start) <= 1.00 # same number of plates predicted assert len(predicted_plates) == len(expected_plates)