'The backend\'s FOR UPDATE SKIP LOCKED variant appears in
generated SQL when select_for_update is invoked.'

@skipUnlessDBFeature('has_select_for_update_skip_locked')
def test_for_update_sql_generated_skip_locked(self):

    with transaction.atomic():
        with CaptureQueriesContext(connection) as ctx:
            list(Person.objects.all().select_for_update(skip_locked=True))
    self.assertTrue(self.has_for_update_sql(ctx.captured_queries, skip_locked=True))
