From 8a27a73f6f06f99045dec41b641bfb24ba20cde0 Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Fri, 17 Sep 2021 14:07:50 +0800 Subject: [PATCH] [skip ci]Remove a few lines of useless code (#8128) Signed-off-by: yanliang567 --- tests/python_client/common/common_func.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/python_client/common/common_func.py b/tests/python_client/common/common_func.py index 39f3b916e7..927f404cf6 100644 --- a/tests/python_client/common/common_func.py +++ b/tests/python_client/common/common_func.py @@ -10,14 +10,10 @@ from pymilvus import DataType from base.schema_wrapper import ApiCollectionSchemaWrapper, ApiFieldSchemaWrapper from common import common_type as ct from utils.util_log import test_log as log -import traceback """" Methods of processing data """ -# l2 = lambda x, y: np.linalg.norm(np.array(x) - np.array(y)) - - def gen_unique_str(str_value=None): prefix = "".join(random.choice(string.ascii_letters + string.digits) for _ in range(8)) return "test_" + prefix if str_value is None else str_value + "_" + prefix