              try:
                  connection.close()
  
      @override_settings(DEBUG=True)
      def test_queries(self):
          """
          Test the documented API of connection.queries.
          """
 
</s> remove             with suppress(Exception):
 </s> add             try: </s> remove     with suppress(AttributeError):
 </s> add     try: </s> remove     with suppress(Exception):
 </s> add     try:
            except Exception:
                pass
              try:
                  connection.close()
            except Exception:
                pass
  
      @override_settings(DEBUG=True)
      def test_queries(self):
          """
          Test the documented API of connection.queries.
          """
keep add keep keep keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
tests/backends/tests.py