From 169fd5d5724808dd7ec5ff9c2f08b69e51bac4fe Mon Sep 17 00:00:00 2001 From: ThreadDao Date: Thu, 23 Sep 2021 15:02:07 +0800 Subject: [PATCH] [skip ci] Remove unused utils import (#8384) Signed-off-by: ThreadDao --- tests/python_client/utils/utils.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/python_client/utils/utils.py b/tests/python_client/utils/utils.py index 3746702aaf..3a15d9cc47 100644 --- a/tests/python_client/utils/utils.py +++ b/tests/python_client/utils/utils.py @@ -1,9 +1,5 @@ -import os -import sys import random -import pdb import string -import struct import logging import threading import traceback @@ -68,8 +64,10 @@ default_index_params = [ {"nlist": 128} ] -def create_target_index(index,field_name): - index["field_name"]=field_name + +def create_target_index(index, field_name): + index["field_name"] = field_name + def index_cpu_not_support(): return ["IVF_SQ8_HYBRID"] @@ -1021,5 +1019,3 @@ class MyThread(threading.Thread): super(MyThread, self).join() if self.exc: raise self.exc - -