From b242d6e1e1f9bfb063b7e2ccf2e3d1df6f8079bc Mon Sep 17 00:00:00 2001 From: bxdd Date: Tue, 29 Jun 2021 15:54:20 +0000 Subject: [PATCH] delMiniTimer in haandler storage test --- tests/test_handler_storage.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/test_handler_storage.py b/tests/test_handler_storage.py index e41286cb2..056595063 100644 --- a/tests/test_handler_storage.py +++ b/tests/test_handler_storage.py @@ -50,18 +50,6 @@ class TestHandler(DataHandlerLP): return fields, names -class MiniTimer: - def __init__(self, name): - self.name = name - - def __enter__(self): - self.start = time.time() - - def __exit__(self, exc_type, exc_val, exc_tb): - self.end = time.time() - print(f"[Timer Info] <{self.name}> process costs {self.end - self.start} seconds") - - class TestHandlerStorage(TestAutoData): market = "all"