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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user