From 576eba8ff612fbca8a10659c6a2c9c2f88f15da6 Mon Sep 17 00:00:00 2001 From: canihavesomecoffee Date: Sat, 7 Mar 2026 09:45:23 +0100 Subject: [PATCH] Revert "fix: use SQLAlchemy .is_(False) instead of Python identity check" This reverts commit 8ec24f2b5ee513123795a7fe5fa2dfc67f77506c. --- mod_test/controllers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_test/controllers.py b/mod_test/controllers.py index d5e91c9e..67de3a4d 100644 --- a/mod_test/controllers.py +++ b/mod_test/controllers.py @@ -99,7 +99,7 @@ def get_test_results(test) -> List[Dict[str, Any]]: # We need to check if the regression test had any file that shouldn't have been ignored. outputs = RegressionTestOutput.query.filter(and_( RegressionTestOutput.regression_id == category_test['test'].id, - RegressionTestOutput.ignore.is_(False) + RegressionTestOutput.ignore is False )).all() got = None if len(outputs) > 0: