1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-01 10:01:19 +08:00

delMiniTimer in haandler storage test

This commit is contained in:
bxdd
2021-06-29 15:54:20 +00:00
committed by you-n-g
parent 8d1b1979d9
commit b242d6e1e1

View File

@@ -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"