From b7e0ff1d253f02ccb054460ae648801a4366ecb9 Mon Sep 17 00:00:00 2001 From: luobeichen Date: Tue, 7 Jan 2025 15:28:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assert_common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/assert_common.py b/src/assert_common.py index 581dcc67..d8d96800 100644 --- a/src/assert_common.py +++ b/src/assert_common.py @@ -710,6 +710,8 @@ def assert_ocr_not_exist( def assert_text_exist(src, det): """ 断言源字符串中的所有字符串在目标字符串中都存在 + :param src : 字符串 or 字符串数组 + :param det : 目标字符串 """ if not isinstance(det, str): raise TypeError("det 必须是字符串")