mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 18:24:49 -04:00
remove unused param on make_tuple_comparison_clause
This commit is contained in:
parent
77e56deffc
commit
24c58ebfc9
5 changed files with 3 additions and 9 deletions
|
@ -36,7 +36,6 @@ def _stub_db_engine(**kwargs) -> BaseDatabaseEngine:
|
|||
|
||||
class TupleComparisonClauseTestCase(unittest.TestCase):
|
||||
def test_native_tuple_comparison(self):
|
||||
db_engine = _stub_db_engine()
|
||||
clause, args = make_tuple_comparison_clause(db_engine, [("a", 1), ("b", 2)])
|
||||
clause, args = make_tuple_comparison_clause([("a", 1), ("b", 2)])
|
||||
self.assertEqual(clause, "(a,b) > (?,?)")
|
||||
self.assertEqual(args, [1, 2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue