# HG changeset patch # User FUJIWARA Katsunori # Date 1550417245 -32400 # Node ID cab32f08c994d7086fcb3af029913ac9a1f42b9a # Parent 9897e95b0b4aea197f454595957d912c2f59a941 tests: replace "naked except clause" to avoid check-code.py error This is a part of preparation to apply checking with check-code.py on code fragments embedded in *.t test scripts. diff -r 9897e95b0b4a -r cab32f08c994 tests/test-acl.t --- a/tests/test-acl.t Mon Feb 18 00:27:25 2019 +0900 +++ b/tests/test-acl.t Mon Feb 18 00:27:25 2019 +0900 @@ -38,7 +38,7 @@ > def fakegetusers(ui, group): > try: > return acl._getusersorig(ui, group) - > except: + > except BaseException: > return [b"fred", b"betty"] > acl._getusersorig = acl._getusers > acl._getusers = fakegetusers