              kwargs, {"fields": ["title"], "name": "test_title_spgist", "fillfactor": 80}
          )
  
  
  @modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
  class SchemaTests(PostgreSQLTestCase):
      get_opclass_query = """
          SELECT opcname, c.relname FROM pg_opclass AS oc
          JOIN pg_index as i on oc.oid = ANY(i.indclass)
          JOIN pg_class as c on c.oid = i.indexrelid
 
</s> remove @modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
 </s> add  </s> remove @modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
 </s> add  </s> remove @modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
 </s> add  </s> remove @modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
 </s> add  </s> remove @modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
 </s> add 
              kwargs, {"fields": ["title"], "name": "test_title_spgist", "fillfactor": 80}
          )
  
  

  class SchemaTests(PostgreSQLTestCase):
      get_opclass_query = """
          SELECT opcname, c.relname FROM pg_opclass AS oc
          JOIN pg_index as i on oc.oid = ANY(i.indclass)
          JOIN pg_class as c on c.oid = i.indexrelid
keep keep keep keep replace keep keep keep keep keep
 Refs #33308 -- Ensured type handlers are registered for all PostgreSQL specific tests.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> 
tests/postgres_tests/test_indexes.py