author | Yuya Nishihara <yuya@tcha.org> |
Sun, 03 Apr 2016 19:47:29 +0900 | |
changeset 28779 | 0970ebec29b4 |
parent 28778 | 256d90bb12fa |
child 28780 | faff8c2b5ee3 |
tests/hghave.py | file | annotate | diff | comparison | revisions |
--- a/tests/hghave.py Sun Apr 03 20:12:59 2016 +0900 +++ b/tests/hghave.py Sun Apr 03 19:47:29 2016 +0900 @@ -267,8 +267,8 @@ @check("docutils", "Docutils text processing library") def has_docutils(): try: - from docutils.core import publish_cmdline - publish_cmdline # silence unused import + import docutils.core + docutils.core.publish_cmdline # silence unused import return True except ImportError: return False