              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__')
          if os.path.isdir(cache_name):
              shutil.rmtree(cache_name)
 
</s> remove         with suppress(OSError):
 </s> add         try: </s> remove             with suppress(KeyError):
 </s> add             try: </s> remove         with suppress(TypeError):  # len() of unsized object.
 </s> add         try: </s> remove             # SuspiciousFileOperation occurs if the jointed path is located
            # outside of this template_dir (it might be inside another one,
            # so this isn't fatal).
            with suppress(SuspiciousFileOperation):
 </s> add             try:
        except OSError:
            pass
              if sys.platform.startswith('java'):
                  # Jython produces module$py.class files
                  os.remove(re.sub(r'\.py$', '$py.class', full_name))
        except OSError:
            pass
          # Also remove a __pycache__ directory, if it exists
          cache_name = os.path.join(self.test_dir, '__pycache__')
          if os.path.isdir(cache_name):
              shutil.rmtree(cache_name)
keep keep add 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