hghave: silence future pyflakes warning of unused import
authorYuya Nishihara <yuya@tcha.org>
Sun, 15 May 2016 10:40:26 +0900
changeset 29231 b1b35a9051c3
parent 29230 b68af177937d
child 29232 3dad34e9d134
hghave: silence future pyflakes warning of unused import
tests/hghave
--- 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))