# HG changeset patch # User Kyle Lippincott # Date 2020-01-08 17:59:34 # Node ID 1e0783b946c89be5e87e1a4d95d6d67931b2a743 # Parent 8042856c90b6ab07437c7ddd6dd9f6d18d37d3d7 tests: fix a "naked exception" issue in test-remotefilelog-prefetch.t Differential Revision: https://phab.mercurial-scm.org/D7811 diff --git a/tests/test-remotefilelog-prefetch.t b/tests/test-remotefilelog-prefetch.t --- a/tests/test-remotefilelog-prefetch.t +++ b/tests/test-remotefilelog-prefetch.t @@ -250,7 +250,7 @@ > try: > hexid = (b'%02x' % (i + 1)) * 20 > repo.fileservice.prefetch([(b'somefile.txt', hexid)]) - > except: + > except Exception: > pass > EOF