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:
@@ -35,10 +35,10 @@ class HistoryWithDifferentDataMappingModeRegressionAlgorithm(QCAlgorithm):
|
||||
]
|
||||
|
||||
if any(x.size != history_results[0].size for x in history_results):
|
||||
raise Exception("History results bar count did not match")
|
||||
raise AssertionError("History results bar count did not match")
|
||||
|
||||
# Check that close prices at each time are different for different data mapping modes
|
||||
for j in range(history_results[0].size):
|
||||
close_prices = set(history_results[i][j] for i in range(len(history_results)))
|
||||
if len(close_prices) != len(data_mapping_modes):
|
||||
raise Exception("History results close prices should have been different for each data mapping mode at each time")
|
||||
raise AssertionError("History results close prices should have been different for each data mapping mode at each time")
|
||||
|
||||
Reference in New Issue
Block a user