tests: fix a "naked exception" issue in test-remotefilelog-prefetch.t
authorKyle Lippincott <spectral@google.com>
Wed, 08 Jan 2020 09:59:34 -0800
changeset 44016 1e0783b946c8
parent 44014 8042856c90b6
child 44017 6b90f5c89cb4
tests: fix a "naked exception" issue in test-remotefilelog-prefetch.t Differential Revision: https://phab.mercurial-scm.org/D7811
tests/test-remotefilelog-prefetch.t
--- a/tests/test-remotefilelog-prefetch.t	Thu Dec 12 18:31:17 2019 +0100
+++ b/tests/test-remotefilelog-prefetch.t	Wed Jan 08 09:59:34 2020 -0800
@@ -250,7 +250,7 @@
   >         try:
   >             hexid = (b'%02x' % (i + 1)) * 20
   >             repo.fileservice.prefetch([(b'somefile.txt', hexid)])
-  >         except:
+  >         except Exception:
   >             pass
   > EOF