Skip to content

Commit

Permalink
Skip testing for_update for SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
dkopitsa committed Aug 9, 2024
1 parent f3700b6 commit fdd7f53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/table/test_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fdd7f53

Please sign in to comment.