  
      def _run_autocomplete(self):
          util = ManagementUtility(argv=sys.argv)
          with captured_stdout() as stdout:
              with suppress(SystemExit):
                  util.autocomplete()
          return stdout.getvalue().strip().split('\n')
  
      def test_django_admin_py(self):
          "django_admin.py will autocomplete option flags"
 
</s> remove         with suppress(FileNotFoundError):
 </s> add         try: </s> remove             with suppress(AttributeError):
 </s> add             try: </s> remove     with suppress(Exception):
 </s> add     try:
            try:
  
      def _run_autocomplete(self):
          util = ManagementUtility(argv=sys.argv)
          with captured_stdout() as stdout:
            try:
                  util.autocomplete()
          return stdout.getvalue().strip().split('\n')
  
      def test_django_admin_py(self):
          "django_admin.py will autocomplete option flags"
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/bash_completion/tests.py