Skip to content

Commit 1ea2e10

Browse files
committed
Removing processing time check from unit test
1 parent ac7e6b9 commit 1ea2e10

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_fastanpr.py

-5
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,7 @@ async def test_image_3d():
4444
]
4545
)
4646
async def test_image_4d(file: str, expected_plates: List[str]):
47-
start = time.time()
4847
predicted_plates = (await fastanpr.run([image_path_to_ndarray(str(file))]))[0]
49-
end = time.time()
50-
51-
# processing time must be less than 1 s
52-
assert (end - start) <= 1.00
5348

5449
# same number of plates predicted
5550
assert len(predicted_plates) == len(expected_plates)

0 commit comments

Comments
 (0)