  import random
  import tempfile
  import time
  import zlib
  from contextlib import suppress
  
  from django.core.cache.backends.base import DEFAULT_TIMEOUT, BaseCache
  from django.core.files.move import file_move_safe
  from django.utils.encoding import force_bytes
  
 
</s> remove from contextlib import contextmanager, suppress
 </s> add from contextlib import contextmanager </s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress
 </s> add 
  import random
  import tempfile
  import time
  import zlib

  
  from django.core.cache.backends.base import DEFAULT_TIMEOUT, BaseCache
  from django.core.files.move import file_move_safe
  from django.utils.encoding import force_bytes
  
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. 
django/core/cache/backends/filebased.py