changeset 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 b68af177937d
children 3dad34e9d134
files tests/hghave
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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))