              self.assertFalse(connection.is_usable())
          finally:
              # Clean up the mess created by connection._close(). Since the
              # connection is already closed, this crashes on some backends.
              with suppress(Exception):
                  connection.close()
  
      @override_settings(DEBUG=True)
      def test_queries(self):
          """
 
</s> remove         # Ignore decode error in SSL/TLS connection tests as the test only
        # cares whether the connection attempt was made.
        with suppress(UnicodeDecodeError):
 </s> add         try: </s> remove     with suppress(Exception):
 </s> add     try: </s> remove         with suppress(OSError):
 </s> add         try:
            try:
              self.assertFalse(connection.is_usable())
          finally:
              # Clean up the mess created by connection._close(). Since the
              # connection is already closed, this crashes on some backends.
            try:
                  connection.close()
  
      @override_settings(DEBUG=True)
      def test_queries(self):
          """
keep keep keep keep replace 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