diff options
author | Richard van der Hoff <richard@matrix.org> | 2021-04-08 18:29:57 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2021-04-08 18:29:57 +0100 |
commit | 24c58ebfc992eec4b37c5aead8d9eef8e7afdd16 (patch) | |
tree | 0e301e00c060e8a4aed6c94bd359cfa46f1dd18a /tests | |
parent | update test_old_deps script (diff) | |
download | synapse-24c58ebfc992eec4b37c5aead8d9eef8e7afdd16.tar.xz |
remove unused param on `make_tuple_comparison_clause`
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_database.py | 3 |
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]) |