Add python syntax check (#8651)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* Add python syntax check * Fix some python regression algorithms * Fixing more bugs
This commit is contained in:
@@ -135,7 +135,7 @@ class HistoryAlgorithm(QCAlgorithm):
|
||||
def assert_history_count(self, method_call, trade_bar_history, expected):
|
||||
count = len(trade_bar_history.index)
|
||||
if count != expected:
|
||||
raise Exception("{} expected {}, but received {}".format(method_call, expected, count))
|
||||
raise AssertionError("{} expected {}, but received {}".format(method_call, expected, count))
|
||||
|
||||
|
||||
class CustomDataEquity(PythonData):
|
||||
|
||||
Reference in New Issue
Block a user