Mercurial > public > mercurial-scm > hg-stable
diff tests/test-remotefilelog-prefetch.t @ 44018: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 | faf00e30b63f |
children | fca7caeaa6e7 |
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