changeset 44016:1e0783b946c8

tests: fix a "naked exception" issue in test-remotefilelog-prefetch.t Differential Revision: https://phab.mercurial-scm.org/D7811
author Kyle Lippincott <spectral@google.com>
date Wed, 08 Jan 2020 09:59:34 -0800
parents 8042856c90b6
children 6b90f5c89cb4
files tests/test-remotefilelog-prefetch.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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