From fdd7f530188233d581e882835dae9b212a0347f8 Mon Sep 17 00:00:00 2001 From: Denis Kopitsa Date: Fri, 9 Aug 2024 09:34:18 +0300 Subject: [PATCH] Skip testing for_update for SQLite --- tests/table/test_select.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/table/test_select.py b/tests/table/test_select.py index 12dfce299..050614798 100644 --- a/tests/table/test_select.py +++ b/tests/table/test_select.py @@ -1028,6 +1028,10 @@ def test_select_raw(self): response, [{"name": "Pythonistas", "popularity_log": 3.0}] ) + @pytest.mark.skipif( + is_running_sqlite(), + reason="SQLite doesn't support SELECT .. FOR UPDATE.", + ) def test_for_update(self): """ Make sure the for_update clause works.