diff tests/hghave @ 29231:b1b35a9051c3

hghave: silence future pyflakes warning of unused import
author Yuya Nishihara <yuya@tcha.org>
date Sun, 15 May 2016 10:40:26 +0900
parents f8b274df33dc
children 47ef023d0165
line wrap: on
line diff
--- a/tests/hghave	Sun May 15 10:39:44 2016 +0900
+++ b/tests/hghave	Sun May 15 10:40:26 2016 +0900
@@ -49,6 +49,7 @@
     sys.path.insert(0, path)
     try:
         import hghaveaddon
+        assert hghaveaddon  # silence pyflakes
     except BaseException as inst:
         sys.stderr.write('failed to import hghaveaddon.py from %r: %s\n'
                          % (path, inst))