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:
@@ -46,4 +46,4 @@ class BaseFrameworkRegressionAlgorithm(QCAlgorithm):
|
||||
# The base implementation checks for active insights
|
||||
insights_count = len(self.insights.get_insights(lambda insight: insight.is_active(self.utc_time)))
|
||||
if insights_count != 0:
|
||||
raise Exception(f"The number of active insights should be 0. Actual: {insights_count}")
|
||||
raise AssertionError(f"The number of active insights should be 0. Actual: {insights_count}")
|
||||
|
||||
Reference in New Issue
Block a user