summary refs log tree commit diff
path: root/tests/storage/test_database.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2021-04-08 18:29:57 +0100
committerRichard van der Hoff <richard@matrix.org>2021-04-08 18:29:57 +0100
commit24c58ebfc992eec4b37c5aead8d9eef8e7afdd16 (patch)
tree0e301e00c060e8a4aed6c94bd359cfa46f1dd18a /tests/storage/test_database.py
parentupdate test_old_deps script (diff)
downloadsynapse-24c58ebfc992eec4b37c5aead8d9eef8e7afdd16.tar.xz
remove unused param on `make_tuple_comparison_clause`
Diffstat (limited to 'tests/storage/test_database.py')
-rw-r--r--tests/storage/test_database.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/storage/test_database.py b/tests/storage/test_database.py
index 1bba58fc03..a906d30e73 100644
--- a/tests/storage/test_database.py
+++ b/tests/storage/test_database.py
@@ -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])