              os.remove(full_name)
  
          # Also try to remove the compiled file; if it exists, it could
          # mess up later tests that depend upon the .py file not existing
          with suppress(OSError):
              if sys.platform.startswith('java'):
                  # Jython produces module$py.class files
                  os.remove(re.sub(r'\.py$', '$py.class', full_name))
          # Also remove a __pycache__ directory, if it exists
          cache_name = os.path.join(self.test_dir, '__pycache__')
 
</s> remove             with suppress(KeyError):
 </s> add             try: </s> remove             with suppress(Exception):
 </s> add             try: </s> remove     with suppress(KeyError):
 </s> add     try:
        try:
              os.remove(full_name)
  
          # Also try to remove the compiled file; if it exists, it could
          # mess up later tests that depend upon the .py file not existing
        try:
              if sys.platform.startswith('java'):
                  # Jython produces module$py.class files
                  os.remove(re.sub(r'\.py$', '$py.class', full_name))
          # Also remove a __pycache__ directory, if it exists
          cache_name = os.path.join(self.test_dir, '__pycache__')
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/admin_scripts/tests.py