tests/hghave.py
changeset 36694 1d06407d0ee9
parent 36678 7834927f0243
child 36941 3f7bbce8fbaa
--- a/tests/hghave.py	Sat Mar 03 18:33:10 2018 -0500
+++ b/tests/hghave.py	Sun Mar 04 10:23:07 2018 -0500
@@ -715,5 +715,5 @@
         from mercurial import policy
         bdiff = policy.importmod('bdiff')
         return bdiff.xdiffblocks('', '') == [(0, 0, 0, 0)]
-    except (ImportError, AttributeError) as ex:
+    except (ImportError, AttributeError):
         return False